proper tests for issue74, thanks Arfrever
This commit is contained in:
parent
2c230f910d
commit
5ae04397bd
|
@ -403,12 +403,9 @@ class TestInvocationVariants:
|
||||||
result.stdout.fnmatch_lines([
|
result.stdout.fnmatch_lines([
|
||||||
"*1 passed*"
|
"*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", ".")
|
result = testdir.runpytest("--pyargs", ".")
|
||||||
assert result.ret == 0
|
assert result.ret == 0
|
||||||
result.stdout.fnmatch_lines([
|
result.stdout.fnmatch_lines([
|
||||||
|
|
Loading…
Reference in New Issue