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