-
I'm testing some Django code, and I'd like to use the Django test client. This is available in Pytest via `pytest-django` providing [a client fixture](https://pytest-django.readthedocs.io/en/latest/he…
-
Hi, I am getting the following test error while building the package in Debian unstable.
```
_____________________ ERROR at setup of test_plain_fixture _____________________
file /tmp/pytest-of-y…
-
🐞 **Problem**
Some of the tests take advantage of orbits defined in literature. However, you see these orbits being initialized every time in some of the tests rather than providing those as a featur…
-
Please consider allowing `pytest` to display its help without checking that the config is correct.
If I do a typo in conftest.py, I can't run `pytest -h` without fixing it.
If I am using Django, I c…
-
On big projects you sometimes want to split organize your fixtures in many files. This means importing the fixtures into either `conftest.py` or - for better modularity - into the test file itself.
…
-
There are a lot of requests about documentation for programmatic page creation. I’d like to add one more request for the "pytest fixtures" recipe of using Wagtail pages in unit tests.
Here’s an exa…
-
# Checklist
- [x] I have checked the [issues list](https://github.com/celery/celery/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22Category%3A+Documentation%22+)
for similar or identical bug …
-
**Describe the bug**
Packages that are used just as pytest fixtures are wrongly set as unused.
**To Reproduce**
Steps to reproduce the behavior:
1. Install `pytest-freezer` as an example
…
gpkc updated
6 months ago
-
Async fixtures defined with `autouse` aren't automatically used. E.g.
```
@pytest.fixture(autouse=True):
async def clear_some_db_table():
...
```
I'm sure this is a side-effect of the trio-f…
-
When you create a project from scratch and run `pytest` , it fails with the following error:
```
E fixture 'mock_koza' not found
> available fixtures: anyio_backend, anyio_backend_nam…