Skip to content

Commit e662d09

Browse files
committed
Fix corewar failing pytest
1 parent d2a128d commit e662d09

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/arenas/test_corewar.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def arena(self, tmp_log_dir, minimal_config):
3030
arena.submission = "warrior.red"
3131
arena.log_local = tmp_log_dir
3232
arena.run_cmd_round = "./src/pmars"
33+
arena.config = minimal_config # validate_code reads game_config (sims_per_round) for -r
3334
return arena
3435

3536
def test_valid_submission(self, arena, mock_player_factory):

0 commit comments

Comments
 (0)