Test using pytest 3.0

Fix #99
This commit is contained in:
Bruno Oliveira
2016-12-05 19:59:19 -02:00
parent 780cd0e04f
commit e5d8064534
5 changed files with 50 additions and 26 deletions

View File

@@ -62,7 +62,7 @@ class TestDistribution:
pass
""")
result = testdir.runpytest(p1, '--tx=popen', '--tx=popen')
assert result.ret == 1
assert result.ret in (1, 2)
result.stdout.fnmatch_lines([
"E ImportError: *__import_of_missing_module*",
])