-
As per the [docs]( https://pytest-django.readthedocs.io/en/latest/database.html#reuse-db-reuse-the-testing-database-between-test-runs):
> Using `--reuse-db` will create the test database in the sam…
-
Found during discussion of #11833 (I have reduced the size of the repro since I posted it in https://github.com/pytest-dev/pytest/pull/11833#issuecomment-1999818465)
```python
import pytest
@pyte…
-
I've been using a custom `django_db_setup` fixture which has worked for years. After upgrading from `4.6` to `4.7` this suddenly doesn't work anymore, resulting in the following error:
`RuntimeErro…
-
```
snafu$ for w in 'connect(' VariantMapper AssemblyMapper Normalizer Validator; do printf "%d $w\n" $(fgrep $w tests/*.py|wc -l); done
18 connect(
16 VariantMapper
15 AssemblyMapper
11 Normal…
reece updated
4 years ago
-
instead of the bear_test_module we can simply do something like our disable_bears fixture
-
Having a sub-fixture overwriting a higher-level fixture (with the same name) an argument setup as marker is lost for the higher-level fixture. This is tested with latest pytest 3.6.3.
Here an examp…
-
### Bug description
```python
Failure in test suite with astroid 3.1.0,
pipeline output here: https://gitlab.alpinelinux.org/alpine/aports/-/jobs/1329826
```
### Configuration
_No resp…
-
This was my rsync command ... instead of excluding be explicit about what needs to be included.
```
INFO : process started
```
This is what it is doing ...
```
INFO : process …
-
I think there's bug regarding running pytest_runtest_teardown in the presence of a KeyboardInterrupt:
Expected (no KeyboardInterrupt):
```
==========================================================…
-
Hello,
I'm trying to use an autouse fixture to do some cleanup after a test. I'm defining a fixture depending of the given step but that doesn't seem to work. I'm not sure why or how to fix that or…