| 1 |
|
| 2 |
|
| 3 |
import pytest |
| 4 |
|
| 5 |
|
| 6 |
@pytest.fixture() |
| 7 |
def my_other_conftest_fixture(): |
| 8 |
return 1.0 |
| 9 |
|
| 10 |
|
| 11 |
@pytest.fixture() |
| 12 |
def my_conftest_fixture(my_other_conftest_fixture): |
| 13 |
return my_other_conftest_fixture |
| 14 |
|
| 15 |
|
| 16 |
def my_not_existing_fixture(): |
| 17 |
return 3 |
| 18 |
|
| 19 |
|
| 20 |
@pytest.fixture() |
| 21 |
def inheritance_fixture(): |
| 22 |
return '' |
| 23 |
|
| 24 |
|
| 25 |
@pytest.fixture |
| 26 |
def capsysbinary(capsysbinary): |
| 27 |
|
| 28 |
capsysbinary.clos |
| 29 |
return capsysbinary |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
pytest_plugins = [ |
| 34 |
"completion.fixture_module", |
| 35 |
] |