-
There seems to be a bug with how [`request.getfixturevalue(argname)`](https://docs.pytest.org/en/latest/reference.html#_pytest.fixtures.FixtureRequest.getfixturevalue) interacts with pytest-asyncio. C…
-
`@pytest.mark.parametrize` and `@pytest.fixture` are used to avoid repetition
while writing test for example
~~~python
@pytest.mark.parametrize("earned,spent,expected", [
(30, 10, 20),
…
-
Several tests fail:
```
_______________________________________________________________________________ ERROR at setup of test_BBANDS ________________________________________________________________…
-
I have installed pytest-lazy-fixture:
```
pip install pytest-lazy-fixture
Collecting pytest-lazy-fixture
Downloading pytest-lazy-fixture-0.4.0.tar.gz
Collecting pytest>=2.9.2 (from pytest-laz…
-
Originally reported by: **BitBucket: [ColeVsCode](http://bitbucket.org/ColeVsCode), GitHub: [ColeVsCode](http://github.com/ColeVsCode)**
---
Hi, I'd like to be able to create a module or session sco…
-
The pytest code for selecting a target currently looks like this (fixtures.py):
```
@pytest.fixture(scope="session")
def target(env):
"""Return the default target `main` configured in the supp…
sjg20 updated
2 months ago
-
I'm trying to see if there is a way to get code executed by a fixture (preferably a specific one via a secondary decorator or keyword argument, or I can live with a way to suppress it globally on fixt…
-
Hey,
I am trying to run pytest on my local PC, when databricks extension is installed.
I am trying to create local spark session:
```
def get_spark_session():
spark = (
SparkS…
-
The example below shows that the `pytest_fixture_post_finalizer` hook is executed n+1 times, where n is the number of fixtures depended upon. From a quick look this seems to be caused by the fact that…
-
First time user. Followed the instructions, I see that benchmark is an active plugin but everytime I try and use the benchmark fixture I get that error.
What am I doing wrong?
```python
import cs…