[Zodb-checkins] SVN: ZODB/trunk/src/Z Removed test levels. Test levels are an invitation to inadvertently

Jim Fulton jim at zope.com
Fri Dec 19 10:05:30 EST 2008


Log message for revision 94198:
  Removed test levels. Test levels are an invitation to inadvertently
  not run tests.
  

Changed:
  U   ZODB/trunk/src/ZEO/tests/InvalidationTests.py
  U   ZODB/trunk/src/ZODB/tests/testFileStorage.py
  U   ZODB/trunk/src/ZODB/tests/testRecover.py

-=-
Modified: ZODB/trunk/src/ZEO/tests/InvalidationTests.py
===================================================================
--- ZODB/trunk/src/ZEO/tests/InvalidationTests.py	2008-12-19 15:05:28 UTC (rev 94197)
+++ ZODB/trunk/src/ZEO/tests/InvalidationTests.py	2008-12-19 15:05:30 UTC (rev 94198)
@@ -236,8 +236,6 @@
 
 class InvalidationTests:
 
-    level = 2
-
     # Minimum # of seconds the main thread lets the workers run.  The
     # test stops as soon as this much time has elapsed, and all threads
     # have managed to commit a change.

Modified: ZODB/trunk/src/ZODB/tests/testFileStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/testFileStorage.py	2008-12-19 15:05:28 UTC (rev 94197)
+++ ZODB/trunk/src/ZODB/tests/testFileStorage.py	2008-12-19 15:05:30 UTC (rev 94198)
@@ -334,8 +334,6 @@
 
 class SlowFileStorageTest(BaseFileStorageTests):
 
-    level = 2
-
     def check10Kstores(self):
         # The _get_cached_serial() method has a special case
         # every 8000 calls.  Make sure it gets minimal coverage.

Modified: ZODB/trunk/src/ZODB/tests/testRecover.py
===================================================================
--- ZODB/trunk/src/ZODB/tests/testRecover.py	2008-12-19 15:05:28 UTC (rev 94197)
+++ ZODB/trunk/src/ZODB/tests/testRecover.py	2008-12-19 15:05:30 UTC (rev 94198)
@@ -30,8 +30,6 @@
 
 class RecoverTest(ZODB.tests.util.TestCase):
 
-    level = 2
-
     path = None
 
     def setUp(self):



More information about the Zodb-checkins mailing list