fix some tests after the py/_py split

--HG--
branch : trunk
This commit is contained in:
holger krekel 2009-10-09 15:26:46 +02:00
parent f10bfbb7e5
commit 90f39426b4
1 changed files with 2 additions and 2 deletions

View File

@ -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