mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-04 20:32:51 +08:00
Get some pytest fixtures working with some side effects
This commit is contained in:
1 parent
dd89325441
commit
c45c8ec8ef
8 files changed
+145
-9
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user