Files
Grinch-AP/worlds/messenger/test/TestLocations.py
Aaron Wagener d8d9a49564 The Messenger: Fix a typo preventing a location from being created (#2110)
* The Messenger: Fix a typo preventing a location from being created

* Add a unit test that locations are created
2023-08-25 22:25:56 +02:00

17 lines
466 B
Python

from . import MessengerTestBase
from ..SubClasses import MessengerLocation
class LocationsTest(MessengerTestBase):
options = {
"shuffle_shards": "true",
}
@property
def run_default_tests(self) -> bool:
return False
def testLocationsExist(self):
for location in self.multiworld.worlds[1].location_name_to_id:
self.assertIsInstance(self.multiworld.get_location(location, self.player), MessengerLocation)