(event_loop)
| 451 | |
| 452 | @pytest.fixture |
| 453 | def test_planner(event_loop): |
| 454 | expected_planner = {'name': 'test planner', |
| 455 | 'description': 'test planner', |
| 456 | 'module': 'test', |
| 457 | 'stopping_conditions': [], |
| 458 | 'params': {}, |
| 459 | 'allow_repeatable_abilities': False, |
| 460 | 'ignore_enforcement_modules': [], |
| 461 | 'id': '123'} |
| 462 | test_planner = PlannerSchema().load(expected_planner) |
| 463 | event_loop.run_until_complete(BaseService.get_service('data_svc').store(test_planner)) |
| 464 | return test_planner |
| 465 | |
| 466 | |
| 467 | @pytest.fixture |
nothing calls this directly
no test coverage detected