Files
Grinch-AP/worlds/ror2/test/test_voidling_goal.py

29 lines
1.0 KiB
Python
Raw Permalink Normal View History

2023-11-22 08:20:32 -07:00
from . import RoR2TestBase
class VoidlingGoalTest(RoR2TestBase):
options = {
"dlc_sotv": "true",
"victory": "voidling"
}
def test_planetarium(self) -> None:
self.collect_all_but(["The Planetarium", "Victory"])
self.assertFalse(self.can_reach_region("The Planetarium"))
2023-11-22 08:20:32 -07:00
self.assertBeatable(False)
self.collect_by_name("The Planetarium")
self.assertTrue(self.can_reach_region("The Planetarium"))
2023-11-22 08:20:32 -07:00
self.assertBeatable(True)
def test_void_locus_to_victory(self) -> None:
self.collect_all_but(["Void Locus", "Commencement"])
self.assertFalse(self.can_reach_location("Victory"))
self.collect_by_name("Void Locus")
self.assertTrue(self.can_reach_location("Victory"))
2023-11-22 08:20:32 -07:00
def test_commencement_to_victory(self) -> None:
self.collect_all_but(["Void Locus", "Commencement"])
self.assertFalse(self.can_reach_location("Victory"))
self.collect_by_name("Commencement")
self.assertTrue(self.can_reach_location("Victory"))