mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 02:50:05 +08:00
30 lines
458 B
Python
Vendored
30 lines
458 B
Python
Vendored
# 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
|
|
|
|
|
|
@pytest.fixture()
|
|
def inheritance_fixture():
|
|
return ''
|
|
|
|
|
|
@pytest.fixture
|
|
def testdir(testdir):
|
|
#? ['chdir']
|
|
testdir.chdir
|
|
return testdir
|