* The Messenger: transition rando * remove unused import * always link both directions for plando when using coupled transitions * er_type was renamed to randomization_type * use frozenset for things that shouldn't change * review suggestions * do portal and transition shuffle in `connect_entrances` * remove some unnecessary connections that were causing entrance caching collisions * add test for strictest possible ER settings * use unittest.skip on the skipped test, so we don't waste time doing setUp and tearDown * use the world helpers * make the plando connection description more verbose * always add searing crags portal if portal shuffle is disabled * guarantee an arbitrary number of locations with first connection * make the constraints more lenient for a bit more variety
		
			
				
	
	
		
			20 lines
		
	
	
		
			555 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			555 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import unittest
 | 
						|
 | 
						|
from . import MessengerTestBase
 | 
						|
 | 
						|
 | 
						|
class StrictEntranceRandoTest(MessengerTestBase):
 | 
						|
    """Bare-bones world that tests the strictest possible settings to ensure it doesn't crash"""
 | 
						|
    auto_construct = True
 | 
						|
    options = {
 | 
						|
        "limited_movement": 1,
 | 
						|
        "available_portals": 3,
 | 
						|
        "shuffle_portals": 1,
 | 
						|
        "shuffle_transitions": 1,
 | 
						|
    }
 | 
						|
 | 
						|
    @unittest.skip
 | 
						|
    def test_all_state_can_reach_everything(self) -> None:
 | 
						|
        """It's not possible to reach everything with these options so skip this test."""
 | 
						|
        pass
 |