issue 2922: make BAI plannable against missile and costal sites

(cherry picked from commit e024013093)
This commit is contained in:
zhexu14
2023-05-29 23:25:29 +10:00
committed by Dan Albert
parent ed17fc97d9
commit 81a00981eb
2 changed files with 18 additions and 1 deletions

View File

@@ -180,7 +180,8 @@ def test_mission_types_enemy(mocker: Any) -> None:
control_point=dummy_control_point,
)
mission_types = list(ground_object.mission_types(for_player=False))
assert len(mission_types) == 6
assert len(mission_types) == 7
assert FlightType.BAI in mission_types
assert FlightType.STRIKE in mission_types
assert FlightType.REFUELING in mission_types
assert FlightType.ESCORT in mission_types