-
Notifications
You must be signed in to change notification settings - Fork 65
/
tests.py
81 lines (57 loc) · 1.99 KB
/
tests.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
from openwisp_network_topology.tests.test_admin import TestAdmin as BaseTestAdmin
from openwisp_network_topology.tests.test_admin import (
TestMultitenantAdmin as BaseTestMultitenantAdmin,
)
from openwisp_network_topology.tests.test_api import TestApi as BaseTestApi
from openwisp_network_topology.tests.test_link import TestLink as BaseTestLink
from openwisp_network_topology.tests.test_node import TestNode as BaseTestNode
from openwisp_network_topology.tests.test_snapshot import (
TestSnapshot as BaseTestSnapshot,
)
from openwisp_network_topology.tests.test_topology import (
TestTopology as BaseTestTopology,
)
from openwisp_network_topology.tests.test_upgrader_script import (
TestUpgradeFromDjangoNetjsongraph as BaseTestUpgradeFromDjangoNetjsongraph,
)
from openwisp_network_topology.tests.test_users_integration import (
TestUsersIntegration as BaseTestUsersIntegration,
)
from openwisp_network_topology.tests.test_utils import TestUtils as BaseTestUtils
from openwisp_network_topology.tests.test_visualizer import (
TestVisualizer as BaseTestVisualizer,
)
class TestAdmin(BaseTestAdmin):
module = 'openwisp2.sample_network_topology'
app_label = 'sample_network_topology'
class TestMultitenantAdmin(BaseTestMultitenantAdmin):
app_label = 'sample_network_topology'
class TestApi(BaseTestApi):
pass
class TestLink(BaseTestLink):
pass
class TestNode(BaseTestNode):
pass
class TestTopology(BaseTestTopology):
pass
class TestUtils(BaseTestUtils):
pass
class TestVisualizer(BaseTestVisualizer):
pass
class TestSnapshot(BaseTestSnapshot):
pass
class TestUpgradeFromDjangoNetjsongraph(BaseTestUpgradeFromDjangoNetjsongraph):
pass
class TestUsersIntegration(BaseTestUsersIntegration):
pass
del BaseTestAdmin
del BaseTestMultitenantAdmin
del BaseTestApi
del BaseTestLink
del BaseTestNode
del BaseTestSnapshot
del BaseTestTopology
del BaseTestUtils
del BaseTestVisualizer
del BaseTestUpgradeFromDjangoNetjsongraph
del BaseTestUsersIntegration