-
## Have you checked closed issues?
Yes
## Issue
The `App.run_test()` function is incompatible with pytest fixtures. Consider the following code example:
```py
import pytest
import pytest_as…
-
Pytest offers various features, one of them being the use of [fixtures](https://docs.pytest.org/en/6.2.x/fixture.html). This helps us better manage the tests and setup preconditions. Using the `pytest…
-
Create and publish a test fixture that provides an easy way to unit test an argument parser.
```java
@Test
void example() {
assertParserResult("1 1 1", Optional.empty());
}
```
-
The warning: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function is incorrect. If the statement was true to test would succeed.
See example below:
```
…
-
### Solution to issue cannot be found in the documentation.
- [X] I checked the documentation.
### Issue
When running the tests some warnings are raised:
```
/home/conda/feedstock_root/build_ar…
-
### Things to check first
- [X] I have searched the existing issues and didn't find my bug already reported there
- [X] I have checked that my bug is still present in the latest release
### AnyIO …
-
Creating environments in unit tests currently is not ergonomic and doesn't support remote environments or a pre-created lock.
AC:
- add a way to populate the lockfile
- add a way to create remote…
-
Currently, pytest fixtures seem to always be executed in the main thread. This prevents initializing thread-local configuration to run a particular test in isolation of concurrently running tests with…
-
Command breaks besu t8n server:
```
uv run fill --evm-bin=besu-t8n tests/constantinople/eip1014_create2/test_recreate.py
```
```
tests/constantinople/eip1014_create2/test_recreate.py:113: in …
-
`anyio` creates an event loop during the fixture, and that loop will be reused/kept alive until the fixture is cleaned up (see https://anyio.readthedocs.io/en/stable/testing.html#technical-details). T…