forked from VimPlug/jedi-vim
tests should now be working
This commit is contained in:
@@ -12,11 +12,12 @@ TEST_DIR = 'test'
|
|||||||
class IntegrationTestFile(object):
|
class IntegrationTestFile(object):
|
||||||
def __init__(self, path):
|
def __init__(self, path):
|
||||||
self.path = path
|
self.path = path
|
||||||
self.skip = None
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
output = subprocess.check_output([VSPEC_RUNNER, VSPEC_FOLDER, self.path])
|
output = subprocess.check_output([VSPEC_RUNNER, VSPEC_FOLDER, self.path])
|
||||||
print output
|
for line in output.splitlines():
|
||||||
|
if line.startswith('not ok'):
|
||||||
|
print(output)
|
||||||
assert False
|
assert False
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|||||||
2
test_integration.py
Normal file
2
test_integration.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
def test_integration(case, monkeypatch, pytestconfig):
|
||||||
|
case.run()
|
||||||
Reference in New Issue
Block a user