Run the route scenario
(self)
| 435 | return result |
| 436 | |
| 437 | def _run_route(self): |
| 438 | """ |
| 439 | Run the route scenario |
| 440 | """ |
| 441 | result = False |
| 442 | |
| 443 | if self._args.route: |
| 444 | routes = self._args.route[0] |
| 445 | scenario_file = self._args.route[1] |
| 446 | single_route = None |
| 447 | if len(self._args.route) > 2: |
| 448 | single_route = self._args.route[2] |
| 449 | |
| 450 | # retrieve routes |
| 451 | route_configurations = RouteParser.parse_routes_file(routes, scenario_file, single_route) |
| 452 | |
| 453 | for config in route_configurations: |
| 454 | for _ in range(self._args.repetitions): |
| 455 | result = self._load_and_run_scenario(config) |
| 456 | |
| 457 | self._cleanup() |
| 458 | return result |
| 459 | |
| 460 | def _run_openscenario(self): |
| 461 | """ |
no test coverage detected