-
Move the data loading elements out of setup_method. It only needs to be loaded once and can be shared across many tests. Look into [pytest fixtures](https://docs.pytest.org/en/latest/explanation/fixtu…
-
## 🐛 Bug
If a pytest test uses `async` stuff, there's no apparent way to run the test properly. If the test function is defined to be synchronous and calls `asyncio.run()` internally, it raises `Ru…
-
### Is your feature request related to a problem? Please describe.
This request relates to problems that can occur for certain hardware/OS combinations when users try to filter the CAN messages com…
-
Hi.
I'm using fakeredis to run tests via pytest-asyncio in [FastAPI](https://github.com/tiangolo/fastapi) application.
Library versions:
```
fakeredis==2.19.0
fastapi==0.103.1
hiredis==2.2.3
…
-
Hey @TvoroG,
I hope you're doing well. I really find pytest-lazy-fixture a great pytest plugin, but I noticed that it hasn't had a release since 2020, and there are some open issues and pull reques…
-
Consider this issue as a feature request please. I suggest to add more flexibility to how parameters for tests are combined. In pytest tests are executed for each combination (cartesian product) of al…
-
When running my pytests using pytest-services inside a Gitlab docker container, I get the stacktrace below and the tests fail.
The problem seems to be that the log handler using `/dev/log` is not a…
grote updated
4 years ago
-
I'd like to set something in `pytest.ini` to call `run()` with a certain`strict_exception_groups` value, so that it affects `nursery` fixtures, etc.
belm0 updated
7 months ago
-
I am writing some tests which need to disable Django's autocommit, as the code under test manages this itself. However, after the first test case, the database is flushed, and any useful state that wa…
-
### Issue
`params` on fixtures that are shadowed but used are silently dropped.
### Example
```python
@pytest.fixture
def b(a): return a
@pytest.fixture(name="a", params=("inner", "near"))
…