@pytest.fixture
def scenarios():
    with temp_scenario(name='straight', map='maps/6lane.net.xml') as scenario_root:
        ego_missions = [t.Mission(t.Route(begin=('edge-west-WE', 0, 10), end=('edge-east-WE', 0, 'max')))]
        gen_scenario(t.Scenario(ego_missions=ego_missions), output_dir=scenario_root)
        (yield Scenario.variations_for_all_scenario_roots([str(scenario_root)], [AGENT_ID]))
@pytest.fixture
def scenarios():
    with temp_scenario(name='straight', map='maps/6lane.net.xml') as scenario_root:
        ego_missions = [t.Mission(t.Route(begin=('edge-west-WE', 0, 10), end=('edge-east-WE', 0, 'max')))]
        gen_scenario(t.Scenario(ego_missions=ego_missions), output_dir=scenario_root)
        (yield Scenario.variations_for_all_scenario_roots([str(scenario_root)], [AGENT_ID]))