tests should now be working

This commit is contained in:
David Halter
2013-08-22 21:06:14 +04:30
parent c49b68a25d
commit d1d453b891
2 changed files with 6 additions and 3 deletions

View File

@@ -12,12 +12,13 @@ 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():
assert False if line.startswith('not ok'):
print(output)
assert False
def __repr__(self): def __repr__(self):
return "<%s: %s>" % (type(self), self.path) return "<%s: %s>" % (type(self), self.path)

2
test_integration.py Normal file
View File

@@ -0,0 +1,2 @@
def test_integration(case, monkeypatch, pytestconfig):
case.run()