-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests_steam_statistics_tasks.py
61 lines (43 loc) · 1.95 KB
/
tests_steam_statistics_tasks.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import unittest
import luigi.notifications
from Steam_statistics_ETL.Unittest.Test_AllSteamProductsData_luigi_task import TestAllSteamProductsData
from Steam_statistics_ETL.Unittest.Test_GetSteamProductsDataInfo_luigi_task import TestGetSteamProductsDataInfo
from Steam_statistics_ETL.Unittest.Test_SteamProductsInfoCSVJoiner_luigi_task import TestSteamProductsInfoCSVJoiner
"""
Steam statistics Luigi ETL unit tests.
"""
luigi.notifications.DEBUG = True
class TestAllSteamProductsDataTask(TestAllSteamProductsData):
"""
Test AllSteamProductsData.
"""
# Parameters status:
parameters_errors_status: bool = False
def test_steam_server_status(self):
super(TestAllSteamProductsDataTask, self).steam_server_status()
def test_AllSteamProductsData_task(self):
super(TestAllSteamProductsDataTask, self).AllSteamProductsData_task()
def test_AllSteamProductsData_run(self):
super(TestAllSteamProductsDataTask, self).AllSteamProductsData_run()
class TestGetSteamProductsDataInfoTask(TestGetSteamProductsDataInfo):
"""
Test GetSteamProductsDataInfo.
"""
# Parameters status:
parameters_errors_status: bool = False
def test_GetSteamProductsDataInfo_task(self):
super(TestGetSteamProductsDataInfoTask, self).GetSteamProductsDataInfo_task()
def test_GetSteamProductsDataInfo_run(self):
super(TestGetSteamProductsDataInfoTask, self).GetSteamProductsDataInfo_run()
class TestSteamProductsInfoCSVJoinerTask(TestSteamProductsInfoCSVJoiner):
"""
Test SteamProductsInfoCSVJoiner.
"""
# Parameters status:
parameters_errors_status: bool = False
def test_GetSteamProductsDataInfo_task(self):
super(TestSteamProductsInfoCSVJoinerTask, self).SteamProductsInfoInfoCSVJoiner_task()
def test_SteamProductsInfoInfoCSVJoiner_run(self):
super(TestSteamProductsInfoCSVJoinerTask, self).SteamProductsInfoInfoCSVJoiner_run()
if __name__ == '__main__':
unittest.main()