[py-svn] r37908 - py/trunk/py/test/testing

hpk at codespeak.net hpk at codespeak.net
Sun Feb 4 14:54:11 CET 2007


Author: hpk
Date: Sun Feb  4 14:54:10 2007
New Revision: 37908

Modified:
   py/trunk/py/test/testing/test_conftesthandle.py
Log:
fixing test


Modified: py/trunk/py/test/testing/test_conftesthandle.py
==============================================================================
--- py/trunk/py/test/testing/test_conftesthandle.py	(original)
+++ py/trunk/py/test/testing/test_conftesthandle.py	Sun Feb  4 14:54:10 2007
@@ -72,7 +72,8 @@
         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):



More information about the pytest-commit mailing list