proper tests for issue74, thanks Arfrever

This commit is contained in:
Ronny Pfannschmidt
2011-10-26 23:59:22 +02:00
parent 2c230f910d
commit 5ae04397bd
+2 -5
View File
@@ -403,12 +403,9 @@ class TestInvocationVariants:
result.stdout.fnmatch_lines([
"*1 passed*"
])
result = testdir.runpytest("--pyargs", ".")
assert result.ret == 0
result.stdout.fnmatch_lines([
"*2 passed*"
])
empty_package = testdir.mkpydir("empty_package")
monkeypatch.setenv('PYTHONPATH', empty_package)
result = testdir.runpytest("--pyargs", ".")
assert result.ret == 0
result.stdout.fnmatch_lines([