forked from VimPlug/jedi
Make sure pytest stdlib fixtures are completable
This commit is contained in:
@@ -6,7 +6,10 @@ from jedi.inference.filters import ParserTreeFilter
|
|||||||
from jedi.inference.base_value import NO_VALUES, ValueSet
|
from jedi.inference.base_value import NO_VALUES, ValueSet
|
||||||
|
|
||||||
_PYTEST_FIXTURE_MODULES = [
|
_PYTEST_FIXTURE_MODULES = [
|
||||||
('_pytest', 'monkeypatch')
|
('_pytest', 'monkeypatch'),
|
||||||
|
('_pytest', 'capture'),
|
||||||
|
('_pytest', 'logging'),
|
||||||
|
('_pytest', 'tmpdir'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -129,3 +129,10 @@ def test_p(monkeyp
|
|||||||
def test_p(monkeypatch):
|
def test_p(monkeypatch):
|
||||||
#? ['setattr']
|
#? ['setattr']
|
||||||
monkeypatch.setatt
|
monkeypatch.setatt
|
||||||
|
|
||||||
|
|
||||||
|
#? ['capsysbinary']
|
||||||
|
def test_p(capsysbin
|
||||||
|
|
||||||
|
#? ['tmpdir', 'tmpdir_factory']
|
||||||
|
def test_p(tmpdi
|
||||||
|
|||||||
Reference in New Issue
Block a user