[py-svn] r56990 - in py/branch/event/py/test2: . testing

hpk at codespeak.net hpk at codespeak.net
Tue Aug 5 09:10:24 CEST 2008


Author: hpk
Date: Tue Aug  5 09:10:23 2008
New Revision: 56990

Modified:
   py/branch/event/py/test2/runner.py
   py/branch/event/py/test2/testing/test_runner.py
Log:
docstring,asserts now tested


Modified: py/branch/event/py/test2/runner.py
==============================================================================
--- py/branch/event/py/test2/runner.py	(original)
+++ py/branch/event/py/test2/runner.py	Tue Aug  5 09:10:23 2008
@@ -1,5 +1,9 @@
 """ 
-    test run functions 
+    internal classes for
+
+    * executing test items 
+    * running collectors 
+    * and generating report events about it 
 """
 
 import py, os, sys
@@ -10,10 +14,6 @@
 import py.__.test2.custompdb
 from py.__.test2 import pypresent
 
-# 
-# internal classes (search for "public" below) 
-#
-
 class RobustRun:
     """ a robust setup/execute/teardown protocol. """
     def run(self):

Modified: py/branch/event/py/test2/testing/test_runner.py
==============================================================================
--- py/branch/event/py/test2/testing/test_runner.py	(original)
+++ py/branch/event/py/test2/testing/test_runner.py	Tue Aug  5 09:10:23 2008
@@ -242,7 +242,3 @@
         assert testrep.repr_run.find("CRASHED") != -1
         assert testrep.failed_crashed 
         assert testrep.failed
-
-def test_assertion():
-    py.test.skip("XXX need to test that assertion reinterp is turned on and working for py function test items. ")
-



More information about the pytest-commit mailing list