Test that missing bridge_agent.py fails validation.
(self, arena, mock_player_factory)
| 54 | assert error is None |
| 55 | |
| 56 | def test_missing_file(self, arena, mock_player_factory): |
| 57 | """Test that missing bridge_agent.py fails validation.""" |
| 58 | player = mock_player_factory( |
| 59 | name="test_player", |
| 60 | files={}, |
| 61 | command_outputs={ |
| 62 | "ls": {"output": "other.py\n", "returncode": 0}, |
| 63 | }, |
| 64 | ) |
| 65 | is_valid, error = arena.validate_code(player) |
| 66 | assert is_valid is False |
| 67 | assert "bridge_agent.py" in error |
| 68 | |
| 69 | def test_missing_bid_function(self, arena, mock_player_factory): |
| 70 | """Test that missing get_bid function fails validation.""" |
nothing calls this directly
no test coverage detected