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

hpk at codespeak.net hpk at codespeak.net
Tue Sep 9 19:15:39 CEST 2008


Author: hpk
Date: Tue Sep  9 19:15:37 2008
New Revision: 58013

Modified:
   py/trunk/py/test/testing/acceptance_test.py
Log:
bah, forgot that helper uses fnmatch-style matching, not regular expression


Modified: py/trunk/py/test/testing/acceptance_test.py
==============================================================================
--- py/trunk/py/test/testing/acceptance_test.py	(original)
+++ py/trunk/py/test/testing/acceptance_test.py	Tue Sep  9 19:15:37 2008
@@ -211,7 +211,7 @@
         """)
         result = self.runpytest(p1)
         assert_lines_contain_lines(result.outlines, [
-            ".*test_fail.py F", 
+            "*test_fail.py F", 
             "====* FAILURES *====",
             "____*____", 
             "",
@@ -242,7 +242,7 @@
         """)
         result = self.runpytest(p1)
         assert_lines_contain_lines(result.outlines, [
-            ".*test_one.py .F", 
+            "*test_one.py .F", 
             "====* FAILURES *====",
             "____*____", 
             "*test_one.py:8: ValueError",



More information about the pytest-commit mailing list