[py-svn] commit/pytest: RonnyPfannschmidt: proper tests for issue74, thanks Arfrever
Bitbucket
commits-noreply at bitbucket.org
Wed Oct 26 23:59:55 CEST 2011
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/changeset/61c9b06454c7/
changeset: 61c9b06454c7
user: RonnyPfannschmidt
date: 2011-10-26 23:59:22
summary: proper tests for issue74, thanks Arfrever
affected #: 1 file
diff -r 219e8a76419c812c17ce65c8f665a494b878aca3 -r 61c9b06454c7d040971fe047b60c234fdee80574 testing/acceptance_test.py
--- a/testing/acceptance_test.py
+++ b/testing/acceptance_test.py
@@ -403,12 +403,9 @@
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([
Repository URL: https://bitbucket.org/hpk42/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the pytest-commit
mailing list