-
### Description
Pytest fixtures are best defined in a `conftest.py`, in whatever subpackage the tests are for. This has a number of advantages, not least of which is avoiding the annoying way that …
-
* **What is the current behavior?**
Running the test suite, in particular the tests in `graphene/relay/tests/test_custom_global_id.py` fail if pytest 8.x is used.
```shell
__________ ERROR at s…
-
I hoped to be able to do the following for my test cases requiring `trio-asyncio`:
@pytest_trio.trio_fixture
async def trio_aio_loop():
async with trio_asyncio.open_loop() as loop…
-
**Describe the bug**
Pytest provides `pytester` fixture to allow to validate if fixtures provided by a package works correctly:
https://docs.pytest.org/en/7.1.x/reference/reference.html?highlight=…
Czaki updated
5 months ago
-
Pytest 8 no longer works with lazy-fixture, see https://github.com/TvoroG/pytest-lazy-fixture/issues/65, other projects which used it have switched away from it like [pyarrow](https://github.com/apach…
jelly updated
6 months ago
-
Discussed in #5510 , I don't seem to have the ability to reopen that ticket so I opted to create a new one. As mentioned there it seems as if this should be working as of #4590 but I'm seeing differen…
-
Non-standard but supported use case in FactoryBoy is using a factory function for the 'model' definition, e.g.:
```python
def _some_factory_func(*args, **kwargs):
# do some cleanup/advanced log…
-
Sybil's pytest integration allows users to [request pytest fixtures](https://sybil.readthedocs.io/en/latest/integration.html#pytest).
Currently, if you typo a fixture name, you get this horrible in…
-
### Environment information
- OS: macOS / debian (so far)
- Python Version: 3.10.12 (mac) / 3.9.2
- `ape` and plugin versions:
```sh
$ ape --version
0.6.13
$ ape plugins list
Installed P…
-
## Bug report
**Required Info:**
- Operating System:
- Ubuntu 22.04
- Installation type:
- binaries (using `apt-get install ros-humble-launch-pytest`)
- Version or commit hash:
- hu…