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