diff --git a/tests/stockfish/test_models.py b/tests/stockfish/test_models.py index a939c19..528482b 100644 --- a/tests/stockfish/test_models.py +++ b/tests/stockfish/test_models.py @@ -44,7 +44,7 @@ def test_sf_process(self): wtime_lines = send_command(process, "go wtime 1000") btime_lines = send_command(process, "go btime 1000") send_command(process, "quit") - assert any(x.startswith('bestmove {move}') for move in ('d2d4', 'b1c3') for x in wtime_lines) - assert any(x.startswith('bestmove {move}') for move in ('d2d4', 'b1c3') for x in btime_lines) + assert any(x.startswith(f'bestmove {move}') for move in ('d2d4', 'b1c3') for x in wtime_lines) + assert any(x.startswith(f'bestmove {move}') for move in ('d2d4', 'b1c3') for x in btime_lines)