[Pytest-commit] commit/pytest: hpk42: remove testing of xdist+genscript -- doesn't really make sense
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Nov 20 15:46:30 CET 2013
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/0907cfd89959/
Changeset: 0907cfd89959
User: hpk42
Date: 2013-11-20 15:46:23
Summary: remove testing of xdist+genscript -- doesn't really make sense
because for installing pytest-xdist you need pytest installed
which defeats the purpose of genscript.
Affected #: 1 file
diff -r f0e54be5f8eacf91a33361dd2772a2cfe5a1289f -r 0907cfd89959be68e6efe109ab4e12f628fcde90 testing/test_genscript.py
--- a/testing/test_genscript.py
+++ b/testing/test_genscript.py
@@ -35,14 +35,3 @@
result = standalone.run(anypython, testdir, p)
assert result.ret != 0
-def test_rundist(testdir, pytestconfig, standalone):
- pytestconfig.pluginmanager.skipifmissing("xdist")
- testdir.makepyfile("""
- def test_one():
- pass
- """)
- result = standalone.run(sys.executable, testdir, '-n', '3')
- assert result.ret == 0
- result.stdout.fnmatch_lines([
- "*1 passed*",
- ])
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