File: __init__.py

package info (click to toggle)
pyzor 1%3A1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 868 kB
  • sloc: python: 7,266; makefile: 153; sh: 28
file content (33 lines) | stat: -rw-r--r-- 898 bytes parent folder | download
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
26
27
28
29
30
31
32
33
"""A suite of unit tests that verifies the correct behaviour of various 
functions/methods in the pyzord code.

Note these tests the source of pyzor, not the version currently installed.
"""

import unittest


def suite():
    """Gather all the tests from this package in a test suite."""
    import test_client
    import test_config
    import test_digest
    import test_server
    import test_account
    import test_forwarder
    import test_engines

    test_suite = unittest.TestSuite()

    test_suite.addTest(test_engines.suite())
    test_suite.addTest(test_client.suite())
    test_suite.addTest(test_config.suite())
    test_suite.addTest(test_digest.suite())
    test_suite.addTest(test_server.suite())
    test_suite.addTest(test_account.suite())
    test_suite.addTest(test_forwarder.suite())
    return test_suite


if __name__ == "__main__":
    unittest.main(defaultTest="suite")