[py-svn] py-trunk commit 60b5a4f2ca9a: fix some tests after the py/_py split

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Oct 9 15:27:12 CEST 2009


# HG changeset patch -- Bitbucket.org
# Project py-trunk
# URL http://bitbucket.org/hpk42/py-trunk/overview/
# User holger krekel <holger at merlinux.eu>
# Date 1255094806 -7200
# Node ID 60b5a4f2ca9ad6894347afd4c449a1d16f66f523
# Parent bb70d1a4e812d729bf65bf19e56c575fe5d24b20
fix some tests after the py/_py split

--- a/testing/pytest/plugin/test_pytest_default.py
+++ b/testing/pytest/plugin/test_pytest_default.py
@@ -50,7 +50,7 @@ class TestDistOptions:
     def test_getrsyncdirs(self, testdir):
         config = testdir.parseconfigure('--rsyncdir=' + str(testdir.tmpdir))
         roots = config.getrsyncdirs()
-        assert len(roots) == 1 + 1 
+        assert len(roots) == 1 + 2
         assert testdir.tmpdir in roots
 
     def test_getrsyncdirs_with_conftest(self, testdir):
@@ -62,7 +62,7 @@ class TestDistOptions:
         """)
         config = testdir.parseconfigure(testdir.tmpdir, '--rsyncdir=y', '--rsyncdir=z')
         roots = config.getrsyncdirs()
-        assert len(roots) == 3 + 1 
+        assert len(roots) == 3 + 2
         assert py.path.local('y') in roots 
         assert py.path.local('z') in roots 
         assert testdir.tmpdir.join('x') in roots



More information about the pytest-commit mailing list