* The Messenger: Fix a typo preventing a location from being created * Add a unit test that locations are created
		
			
				
	
	
		
			17 lines
		
	
	
		
			466 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			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)
 |