Test Failed
Pull Request — master (#68)
by Arturo
02:47
created

build.tests.integration.test_results_edges_aux   A

Complexity

Total Complexity 21

Size/Duplication

Total Lines 139
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 45
dl 0
loc 139
rs 10
c 0
b 0
f 0
wmc 21

21 Methods

Rating   Name   Duplication   Size   Complexity  
A TestResultsEdgesAux.test_path6_1_8() 0 5 1
A TestResultsEdgesAux.test_path6_2_0() 0 5 1
A TestResultsEdgesAux.test_path6_6() 0 5 1
A TestResultsEdgesAux.test_path6_1_1() 0 5 1
A TestResultsEdgesAux.test_path6_2_1() 0 5 1
A TestResultsEdgesAux.test_path6_1() 0 5 1
A TestResultsEdgesAux.test_path6_1_4() 0 5 1
A TestResultsEdgesAux.test_path6_7() 0 5 1
A TestResultsEdgesAux.test_path6_1_3() 0 5 1
A TestResultsEdgesAux.test_path6_1_0() 0 5 1
A TestResultsEdgesAux.test_path6_9() 0 5 1
A TestResultsEdgesAux.test_path6_3() 0 5 1
A TestResultsEdgesAux.test_path6_1_7() 0 5 1
A TestResultsEdgesAux.test_path6_1_6() 0 5 1
A TestResultsEdgesAux.test_path6_5() 0 5 1
A TestResultsEdgesAux.test_path6_1_5() 0 5 1
A TestResultsEdgesAux.test_path6_1_9() 0 5 1
A TestResultsEdgesAux.test_path6_4() 0 5 1
A TestResultsEdgesAux.test_path6_2() 0 5 1
A TestResultsEdgesAux.test_path6_8() 0 5 1
A TestResultsEdgesAux.test_path6_1_2() 0 5 1
1
"""Module to test the KytosGraph in graph.py. Auxiliary"""
2
3
# module under test
4
from tests.integration.edges_settings import EdgesSettings
5
6
7
class TestResultsEdgesAux(EdgesSettings):
8
    """Tests for the graph class.
9
10
    Tests to see if reflexive searches and impossible searches
11
    show correct results.
12
    """
13
14
    def test_path6_1(self):
15
        """Tests paths between all users using constrained path algorithm,
16
        with the delay constraint set to 50.
17
        """
18
        self.assertTrue(self.paths_between_all_users("S1:1", {'delay': 50}))
19
20
    def test_path6_2(self):
21
        """Tests paths between all users using constrained path algorithm,
22
        with the delay constraint set to 50.
23
        """
24
        self.assertTrue(self.paths_between_all_users("S2:1", {'delay': 50}))
25
26
    def test_path6_3(self):
27
        """Tests paths between all users using constrained path algorithm,
28
        with the delay constraint set to 50.
29
        """
30
        self.assertTrue(self.paths_between_all_users("S3:1", {'delay': 50}))
31
32
    def test_path6_4(self):
33
        """Tests paths between all users using constrained path algorithm,
34
        with the delay constraint set to 50.
35
        """
36
        self.assertTrue(self.paths_between_all_users("S5:1", {'delay': 50}))
37
38
    def test_path6_5(self):
39
        """Tests paths between all users using constrained path algorithm,
40
        with the delay constraint set to 50.
41
        """
42
        self.assertTrue(self.paths_between_all_users("S4:2", {'delay': 50}))
43
44
    def test_path6_6(self):
45
        """Tests paths between all users using constrained path algorithm,
46
        with the delay constraint set to 50.
47
        """
48
        self.assertTrue(self.paths_between_all_users("User1:2", {'delay': 50}))
49
50
    def test_path6_7(self):
51
        """Tests paths between all users using constrained path algorithm,
52
        with the delay constraint set to 50.
53
        """
54
        self.assertTrue(self.paths_between_all_users("S5:5", {'delay': 50}))
55
56
    def test_path6_8(self):
57
        """Tests paths between all users using constrained path algorithm,
58
        with the delay constraint set to 50.
59
        """
60
        self.assertTrue(self.paths_between_all_users("S8:2", {'delay': 50}))
61
62
    def test_path6_9(self):
63
        """Tests paths between all users using constrained path algorithm,
64
        with the delay constraint set to 50.
65
        """
66
        self.assertTrue(self.paths_between_all_users("S5:6", {'delay': 50}))
67
68
    def test_path6_1_0(self):
69
        """Tests paths between all users using constrained path algorithm,
70
        with the delay constraint set to 50.
71
        """
72
        self.assertTrue(self.paths_between_all_users("User1:3", {'delay': 50}))
73
74
    def test_path6_1_1(self):
75
        """Tests paths between all users using constrained path algorithm,
76
        with the delay constraint set to 50.
77
        """
78
        self.assertTrue(self.paths_between_all_users("S6:3", {'delay': 50}))
79
80
    def test_path6_1_2(self):
81
        """Tests paths between all users using constrained path algorithm,
82
        with the delay constraint set to 50.
83
        """
84
        self.assertTrue(self.paths_between_all_users("S9:1", {'delay': 50}))
85
86
    def test_path6_1_3(self):
87
        """Tests paths between all users using constrained path algorithm,
88
        with the delay constraint set to 50.
89
        """
90
        self.assertTrue(self.paths_between_all_users("S6:4", {'delay': 50}))
91
92
    def test_path6_1_4(self):
93
        """Tests paths between all users using constrained path algorithm,
94
        with the delay constraint set to 50.
95
        """
96
        self.assertTrue(self.paths_between_all_users("S9:2", {'delay': 50}))
97
98
    def test_path6_1_5(self):
99
        """Tests paths between all users using constrained path algorithm,
100
        with the delay constraint set to 50.
101
        """
102
        self.assertTrue(self.paths_between_all_users("S6:5", {'delay': 50}))
103
104
    def test_path6_1_6(self):
105
        """Tests paths between all users using constrained path algorithm,
106
        with the delay constraint set to 50.
107
        """
108
        self.assertTrue(self.paths_between_all_users("S6:5", {'delay': 50}))
109
110
    def test_path6_1_7(self):
111
        """Tests paths between all users using constrained path algorithm,
112
        with the delay constraint set to 50.
113
        """
114
        self.assertTrue(self.paths_between_all_users("S10:1", {'delay': 50}))
115
116
    def test_path6_1_8(self):
117
        """Tests paths between all users using constrained path algorithm,
118
        with the delay constraint set to 50.
119
        """
120
        self.assertTrue(self.paths_between_all_users("S8:5", {'delay': 50}))
121
122
    def test_path6_1_9(self):
123
        """Tests paths between all users using constrained path algorithm,
124
        with the delay constraint set to 50.
125
        """
126
        self.assertTrue(self.paths_between_all_users("S9:4", {'delay': 50}))
127
128
    def test_path6_2_0(self):
129
        """Tests paths between all users using constrained path algorithm,
130
        with the delay constraint set to 50.
131
        """
132
        self.assertTrue(self.paths_between_all_users("User1:4", {'delay': 50}))
133
134
    def test_path6_2_1(self):
135
        """Tests paths between all users using constrained path algorithm,
136
        with the delay constraint set to 50.
137
        """
138
        self.assertTrue(self.paths_between_all_users("User4:3", {'delay': 50}))
139