File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,9 +300,9 @@ def test_init_server_app_imports(tmp_path: Path) -> None:
300300
301301 # Check imports use correct class names
302302 # For 'test_env', prefix is 'Test' (removes trailing '_env')
303- # Uses absolute imports from environment root ( server.module, models )
304- assert f"from server .{ env_name } _environment import" in app_content
305- assert "from models import" in app_content
303+ # Uses relative imports ( from server subdirectory )
304+ assert f"from .{ env_name } _environment import" in app_content
305+ assert "from .. models import" in app_content
306306 assert "TestEnvironment" in app_content # Prefix is 'Test', not 'TestEnv'
307307 assert "TestAction" in app_content # Prefix is 'Test', not 'TestEnv'
308308 assert "TestObservation" in app_content # Prefix is 'Test', not 'TestEnv'
You can’t perform that action at this time.
0 commit comments