1
0
forked from VimPlug/jedi

Get some pytest fixtures working with some side effects

This commit is contained in:
Dave Halter
2019-12-27 01:04:01 +01:00
parent dd89325441
commit c45c8ec8ef
8 changed files with 145 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
# Exists only for completion/pytest.py
import pytest
@pytest.fixture()
def my_other_conftest_fixture():
return 1.0
@pytest.fixture()
def my_conftest_fixture(my_other_conftest_fixture):
return my_other_conftest_fixture
def my_not_existing_fixture():
return 3 # Just a normal function