Skip to content

Commit

Permalink
Add test for options fix
Browse files Browse the repository at this point in the history
Test uses fairy-stockfish since that engine revealed the original bug.
  • Loading branch information
MarkZH committed Oct 8, 2024
1 parent d4b3190 commit 6124767
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3142,6 +3142,11 @@ def test_sf_quit(self):
with self.assertRaises(chess.engine.EngineTerminatedError), engine:
engine.ping()

@catchAndSkip(FileNotFoundError, "need fairy-stockfish")
def test_fairy_sf_initialize(self):
with chess.engine.SimpleEngine.popen_uci("fairy-stockfish", setpgrp=True, debug=True):
pass

@catchAndSkip(FileNotFoundError, "need crafty")
def test_crafty_play_to_mate(self):
logging.disable(logging.WARNING)
Expand Down

0 comments on commit 6124767

Please sign in to comment.