[Zope-Checkins] CVS: Zope/utilities - testrunner.py:1.10.4.5

Jeffrey P Shell jeffrey@zope.com
Tue, 14 Aug 2001 12:21:28 -0400


Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv19304

Modified Files:
      Tag: Zope-2_4-branch
	testrunner.py 
Log Message:
added a search for 'framework(' in the smellsLikeATest method.


=== Zope/utilities/testrunner.py 1.10.4.4 => 1.10.4.5 ===
             file.close()
             for line in lines:
-                if find(line, 'def test_suite(') > -1:
+                if (find(line, 'def test_suite(') > -1) or \
+                   (find(line, 'framework(') > -1):
                     return 1
         return 0