We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52788b6 commit 13f8047Copy full SHA for 13f8047
tests/__init__.py
@@ -9,6 +9,7 @@
9
10
from unittest import TestLoader, TestSuite
11
12
+# Names of module to be tested
13
test_packages: list[str] = [
14
"tests.test_ancient",
15
# "tests.test_cli",
@@ -24,13 +25,17 @@
24
25
def load_tests(
26
loader: TestLoader, standard_tests: TestSuite, pattern: str
27
) -> TestSuite:
- """Load test protocol"""
28
+ """Load test protocol
29
+ See: https://docs.python.org/3/library/unittest.html#id1
30
+ """
31
suite = TestSuite()
32
for test_package in test_packages:
33
tests = loader.loadTestsFromName(test_package)
34
suite.addTests(tests)
35
return suite
36
37
+
38
if __name__ == "__main__":
39
import unittest
40
41
unittest.main()
0 commit comments