root / test / __main__.py @ f6d15c9b
History | View | Annotate | Download (565 Bytes)
1 |
from os.path import dirname |
---|---|
2 |
|
3 |
from kkconfig import run_test_cases |
4 |
from kkquotaholderapi import KKQuotaHolderAPITest |
5 |
from limits import LimitsTest |
6 |
from createrelease import CreateReleaseListAPITest |
7 |
|
8 |
HERE = dirname(__file__) |
9 |
|
10 |
# Enumerate all test cases to run.
|
11 |
# In the command line use
|
12 |
# $ python test
|
13 |
# to run them all
|
14 |
|
15 |
all_cases = [ |
16 |
CreateReleaseListAPITest, |
17 |
KKQuotaHolderAPITest, |
18 |
LimitsTest |
19 |
] |
20 |
|
21 |
if __name__ == "__main__": |
22 |
print("Running tests from {0}".format(HERE))
|
23 |
print("All tests are: {0}".format(all_cases))
|
24 |
run_test_cases(all_cases) |