Package pyzmail :: Package tests :: Module test_utils
[hide private]
[frames] | no frames]

Source Code for Module pyzmail.tests.test_utils

 1  import unittest, doctest 
 2  import pyzmail 
 3  from pyzmail.utils import * 
 4   
5 -class TestUtils(unittest.TestCase):
6
7 - def setUp(self):
8 pass
9
10 - def test_nothing(self):
11 pass
12 13 # Add doctest
14 -def load_tests(loader, tests, ignore):
15 # this works with python 2.7 and 3.x 16 tests.addTests(doctest.DocTestSuite(pyzmail.utils)) 17 return tests
18
19 -def additional_tests():
20 # Add doctest for python 2.6 and below 21 if sys.version_info<(2, 7): 22 return doctest.DocTestSuite(pyzmail.utils) 23 else: 24 return unittest.TestSuite()
25