|  |  | @ -12,10 +12,7 @@ from openpilot.tools.sim.tests.test_sim_bridge import TestSimBridgeBase | 
			
		
	
		
		
			
				
					
					|  |  |  | class TestMetaDriveBridge(TestSimBridgeBase): |  |  |  | class TestMetaDriveBridge(TestSimBridgeBase): | 
			
		
	
		
		
			
				
					
					|  |  |  |   @pytest.fixture(autouse=True) |  |  |  |   @pytest.fixture(autouse=True) | 
			
		
	
		
		
			
				
					
					|  |  |  |   def setup_create_bridge(self, test_duration): |  |  |  |   def setup_create_bridge(self, test_duration): | 
			
		
	
		
		
			
				
					
					|  |  |  |     # run bridge test for at least 60s, since not-moving check runs every 30s |  |  |  |     self.test_duration = 30 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     if test_duration < 60: |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       test_duration = 60 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     self.test_duration = test_duration |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   def create_bridge(self): |  |  |  |   def create_bridge(self): | 
			
		
	
		
		
			
				
					
					|  |  |  |     return MetaDriveBridge(False, False, self.test_duration, True) |  |  |  |     return MetaDriveBridge(False, False, self.test_duration, True) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |