-
Minimal example: after adding `app.tests.foo` to `pytest_plugins` in `conftest.py`, collecting tests fails:
```
$ find .
.
./conftest.py
./app
./app/tests
./app/tests/foo.py
./app/tests/app
.…
-
`_get_app_matching_name` (and `get_app`) will take a full scope but only use the app name when requesting app attributes to construct the app instance so get_app will return the first app that matches…
-
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
- `python3 -sBm build -w --no-isolatio…
-
# Summary
The following problem has two objects that reference each other and a `__del__` method in one of the classes. pytest-cov incorrectly reports that the `__del__` method hasn't been called.
…
-
- [x] a detailed description of the bug or problem you are having
- [x] output of `pip list` from the virtual environment you are using
- [x] pytest and operating system versions
- [x] minimal …
-
https://github.com/ev-br/scpdt/pull/87#issuecomment-1677434321 please make sure that this test passes with the plugin
_Originally posted by @ev-br in https://github.com/ev-br/scpdt/pull/87#discussi…
-
Here is the stack-trace i get when trying to run a test with pytest version 8
`
```
pytest --odoo-database ------ odoo/addons/xxx_mrp_machine_cycle/tests
========================================…
-
#251 added having multiple hooks of the same name to a plugin
https://github.com/pytest-dev/pluggy/blob/475c4aa99200bfa3e30d12458ab2a3593a36dd56/src/pluggy/_hooks.py#L417-L422C57 does not unregis…
-
I ran into a pretty weird issue while getting a test suite running with pytest. It seems xdist would capture (or preserve, not sure) setup logs only if the setup fixture is running on the same worker.…
-
Instead of requiring use of pytest test definition, the python snippets should be evaluated as a standalone test that just needs to be executed.
Example:
```python
print(123)
```
If that is…