'Calling L{_clearSuite} on a populated standard library
L{TestSuite} removes all tests.
This test is important since C{_clearSuite} operates by mutating
internal variables.'

def test_clearPyunitSuite(self):

    pyunit = __import__('unittest')
    suite = pyunit.TestSuite()
    suite.addTest(self.TestCase())
    self.assertEqual(1, suite.countTestCases())
    _clearSuite(suite)
    self.assertEqual(0, suite.countTestCases())
