Commit 58dbb8ea authored by Jim Fulton's avatar Jim Fulton

split up connection test into separate layers

Please travis!
parent fc06d153
...@@ -230,11 +230,17 @@ This tests tries to provoke this bug by: ...@@ -230,11 +230,17 @@ This tests tries to provoke this bug by:
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
for klass in test_classes: for klass in test_classes:
sub = unittest.makeSuite(klass, 'check') sub = unittest.makeSuite(klass, 'check')
sub.layer = ZODB.tests.util.MininalTestLayer(
klass.__name__ + ' ZEO Connection Tests')
suite.addTest(sub) suite.addTest(sub)
suite.addTest(doctest.DocTestSuite(
sub = doctest.DocTestSuite(
setUp=forker.setUp, tearDown=setupstack.tearDown, setUp=forker.setUp, tearDown=setupstack.tearDown,
)) )
suite.layer = ZODB.tests.util.MininalTestLayer('ZEO Connection Tests') sub.layer = ZODB.tests.util.MininalTestLayer('ZEO Connection DocTests')
suite.addTest(sub)
return suite return suite
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment