-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.py
43 lines (30 loc) · 1.16 KB
/
test.py
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
34
35
36
37
38
39
40
41
42
43
import unittest
from src.tests.test_repo import TestRepoClass
from src.tests.test_revision import TestRevisionClass
from src.tests.config.test_read_config_file import TestConfig
from src.tests.config.test_override import TestConfigOverride
from src.tests.config.test_categories import TestConfigCategories
from src.tests.utils.test_request import TestUtilsRequest
from src.tests.imagesource.t_imgsrc_class import TestImagesourceClass
from src.tests.imagesource.t_imgsrc_dockerhub import TestImagesourceDockerHub
from src.tests.reposource.t_reposrc_class import TestReposourceClass
from src.tests.reposource.t_reposrc_github import TestReposourceGithub
from src.tests.test_index import TestIndex
if __name__ == "__main__":
suites = []
for suite in [
TestRepoClass,
TestRevisionClass,
TestConfig,
TestConfigOverride,
TestConfigCategories,
TestUtilsRequest,
TestImagesourceClass,
TestImagesourceDockerHub,
TestReposourceClass,
TestReposourceGithub,
TestIndex
]:
suites.append(unittest.makeSuite(suite))
testSuite = unittest.TestSuite(suites)
testSuite.run()