blob: 50ac37620802b49ce57eb7c2fbb81213ff1edc46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
'''
Collect all test suites into one TestSuite instance.
'''
import unittest
from isodate.tests import (test_date, test_time, test_datetime, test_duration,
test_strf, test_pickle)
def test_suite():
'''
Return a new TestSuite instance consisting of all available TestSuites.
'''
return unittest.TestSuite([
test_date.test_suite(),
test_time.test_suite(),
test_datetime.test_suite(),
test_duration.test_suite(),
test_strf.test_suite(),
test_pickle.test_suite(),
])
if __name__ == '__main__':
unittest.main(defaultTest='test_suite')
|