File: __init__.py

package info (click to toggle)
pyzor 1%3A1.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 868 kB
  • sloc: python: 7,266; makefile: 153; sh: 28
file content (20 lines) | stat: -rw-r--r-- 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""Package reserved for tests and test utilities."""

import unittest


def suite():
    """Gather all the tests from this package in a test suite."""
    import tests.unit as unit
    import tests.functional as functional

    test_suite = unittest.TestSuite()

    test_suite.addTest(unit.suite())
    test_suite.addTest(functional.suite())

    return test_suite


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