From f2b38db33ad06168b194f29d1ad41f2f9111608b Mon Sep 17 00:00:00 2001 From: hpk Date: Sun, 4 Feb 2007 14:54:10 +0100 Subject: [PATCH] [svn r37908] fixing test --HG-- branch : trunk --- py/test/testing/test_conftesthandle.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/test/testing/test_conftesthandle.py b/py/test/testing/test_conftesthandle.py index 69ed7f407..812b171f4 100644 --- a/py/test/testing/test_conftesthandle.py +++ b/py/test/testing/test_conftesthandle.py @@ -72,7 +72,8 @@ class TestConftestValueAccessGlobal: mod, value = conftest.rget_with_confmod("a", topdir) assert value == 1.5 path = py.path.local(mod.__file__) - assert path == self.basedir.join("adir", "b", "conftest.py") + assert path.dirpath() == self.basedir.join("adir", "b") + assert path.purebasename == "conftest" class TestConftestValueAccessInPackage(TestConftestValueAccessGlobal): def setup_class(cls):