Skip to content

Commit cfeb924

Browse files
committed
TST: Fix tests
1 parent 5d17d0c commit cfeb924

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_tournament.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ def test_play_game_with_config(self):
227227
config.viewer = 'ascii'
228228
config.size = 'small'
229229
config.tournament_log_folder = None
230+
config.publish = None
230231

231232
teams = ["pelita/player/StoppingPlayer", "pelita/player/StoppingPlayer"]
232233
(state, stdout, stderr) = tournament.play_game_with_config(config, teams, rng=RNG)
@@ -268,6 +269,7 @@ def mock_print(str="", *args, **kwargs):
268269
config.size = 'small'
269270
config.print = mock_print
270271
config.tournament_log_folder = None
272+
config.publish = None
271273

272274
team_ids = ["first_id", "first_id"]
273275
result = tournament.start_match(config, team_ids, rng=RNG)
@@ -306,6 +308,7 @@ def mock_print(str="", *args, **kwargs):
306308
config.size = 'small'
307309
config.print = mock_print
308310
config.tournament_log_folder = None
311+
config.publish = None
309312

310313
result = tournament.start_deathmatch(config, *teams.keys(), rng=RNG)
311314
assert result is not None

0 commit comments

Comments
 (0)