2023-08-25 20:25:56 +00:00
|
|
|
from . import MessengerTestBase
|
2023-10-08 12:33:39 +00:00
|
|
|
from ..subclasses import MessengerLocation
|
2023-08-25 20:25:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
class LocationsTest(MessengerTestBase):
|
|
|
|
options = {
|
|
|
|
"shuffle_shards": "true",
|
|
|
|
}
|
|
|
|
|
|
|
|
@property
|
|
|
|
def run_default_tests(self) -> bool:
|
|
|
|
return False
|
2023-10-08 12:33:39 +00:00
|
|
|
|
|
|
|
def test_locations_exist(self) -> None:
|
2024-02-15 22:49:52 +00:00
|
|
|
for location in self.world.location_name_to_id:
|
2023-08-25 20:25:56 +00:00
|
|
|
self.assertIsInstance(self.multiworld.get_location(location, self.player), MessengerLocation)
|