mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Addition of setUpClass and setUpModule shared fixtures to unittest.
This commit is contained in:
parent
0d4bfec134
commit
5ffa325a82
5 changed files with 600 additions and 11 deletions
|
@ -51,13 +51,12 @@ __all__ = ['TestResult', 'TestCase', 'TestSuite',
|
|||
|
||||
# Expose obsolete functions for backwards compatibility
|
||||
__all__.extend(['getTestCaseNames', 'makeSuite', 'findTestCases'])
|
||||
__all__.append('_TextTestResult')
|
||||
|
||||
|
||||
from .result import TestResult
|
||||
from .case import (TestCase, FunctionTestCase, SkipTest, skip, skipIf,
|
||||
skipUnless, expectedFailure)
|
||||
from .suite import TestSuite
|
||||
from .suite import BaseTestSuite, TestSuite
|
||||
from .loader import (TestLoader, defaultTestLoader, makeSuite, getTestCaseNames,
|
||||
findTestCases)
|
||||
from .main import TestProgram, main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue