| @@ 263-284 (lines=22) @@ | ||
| 260 | "reliability": 3}) |
|
| 261 | for result in results: |
|
| 262 | # delay = 50 checks |
|
| 263 | if "delay" in result["metrics"]: |
|
| 264 | for path in result["paths"]: |
|
| 265 | self.assertNotIn("S1:1", path) |
|
| 266 | self.assertNotIn("S2:1", path) |
|
| 267 | self.assertNotIn("S3:1", path) |
|
| 268 | self.assertNotIn("S5:1", path) |
|
| 269 | self.assertNotIn("S4:2", path) |
|
| 270 | self.assertNotIn("User1:2", path) |
|
| 271 | self.assertNotIn("S5:5", path) |
|
| 272 | self.assertNotIn("S8:2", path) |
|
| 273 | self.assertNotIn("S5:6", path) |
|
| 274 | self.assertNotIn("User1:3", path) |
|
| 275 | self.assertNotIn("S6:3", path) |
|
| 276 | self.assertNotIn("S9:1", path) |
|
| 277 | self.assertNotIn("S6:4", path) |
|
| 278 | self.assertNotIn("S9:2", path) |
|
| 279 | self.assertNotIn("S6:5", path) |
|
| 280 | self.assertNotIn("S10:1", path) |
|
| 281 | self.assertNotIn("S8:5", path) |
|
| 282 | self.assertNotIn("S9:4", path) |
|
| 283 | self.assertNotIn("User1:4", path) |
|
| 284 | self.assertNotIn("User4:3", path) |
|
| 285 | ||
| 286 | # bandwidth = 100 checks |
|
| 287 | if "bandwidth" in result["metrics"]: |
|
| @@ 192-213 (lines=22) @@ | ||
| 189 | ownership="B")) |
|
| 190 | for result in results: |
|
| 191 | # delay = 50 checks |
|
| 192 | if "delay" in result["metrics"]: |
|
| 193 | for path in result["paths"]: |
|
| 194 | self.assertNotIn("S1:1", path) |
|
| 195 | self.assertNotIn("S2:1", path) |
|
| 196 | self.assertNotIn("S3:1", path) |
|
| 197 | self.assertNotIn("S5:1", path) |
|
| 198 | self.assertNotIn("S4:2", path) |
|
| 199 | self.assertNotIn("User1:2", path) |
|
| 200 | self.assertNotIn("S5:5", path) |
|
| 201 | self.assertNotIn("S8:2", path) |
|
| 202 | self.assertNotIn("S5:6", path) |
|
| 203 | self.assertNotIn("User1:3", path) |
|
| 204 | self.assertNotIn("S6:3", path) |
|
| 205 | self.assertNotIn("S9:1", path) |
|
| 206 | self.assertNotIn("S6:4", path) |
|
| 207 | self.assertNotIn("S9:2", path) |
|
| 208 | self.assertNotIn("S6:5", path) |
|
| 209 | self.assertNotIn("S10:1", path) |
|
| 210 | self.assertNotIn("S8:5", path) |
|
| 211 | self.assertNotIn("S9:4", path) |
|
| 212 | self.assertNotIn("User1:4", path) |
|
| 213 | self.assertNotIn("User4:3", path) |
|
| 214 | ||
| 215 | # bandwidth = 100 checks |
|
| 216 | if "bandwidth" in result["metrics"]: |
|