[svn r37908] fixing test

--HG--
branch : trunk
This commit is contained in:
hpk 2007-02-04 14:54:10 +01:00
parent 04cf3cdfa0
commit f2b38db33a
1 changed files with 2 additions and 1 deletions

View File

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