[py-svn] r57126 - py/branch/event/py/test2/testing

hpk at codespeak.net hpk at codespeak.net
Sat Aug 9 12:36:25 CEST 2008


Author: hpk
Date: Sat Aug  9 12:36:24 2008
New Revision: 57126

Modified:
   py/branch/event/py/test2/testing/test_collect.py
Log:
avoid using same filename


Modified: py/branch/event/py/test2/testing/test_collect.py
==============================================================================
--- py/branch/event/py/test2/testing/test_collect.py	(original)
+++ py/branch/event/py/test2/testing/test_collect.py	Sat Aug  9 12:36:24 2008
@@ -301,7 +301,7 @@
         return items, l 
 
     def test_check_collect_hashes(self):
-        one = self.tmp.ensure("test_one.py")
+        one = self.tmp.ensure("test_check_collect_hashes.py")
         one.write(py.code.Source("""
             def test_1():
                 pass
@@ -309,7 +309,7 @@
             def test_2():
                 pass
         """))
-        one.copy(self.tmp.join("test_two.py"))
+        one.copy(self.tmp.join("test_check_collect_hashes_2.py"))
         items, events = self._genitems()
         assert len(items) == 4
         for numi, i in enumerate(items):



More information about the pytest-commit mailing list