From 90f39426b4b69739da5a47a92b3e76a4f200689c Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 9 Oct 2009 15:26:46 +0200 Subject: [PATCH] fix some tests after the py/_py split --HG-- branch : trunk --- testing/pytest/plugin/test_pytest_default.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/pytest/plugin/test_pytest_default.py b/testing/pytest/plugin/test_pytest_default.py index 98842a0e2..d3c3e305e 100644 --- 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