-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delay engine and book downloads until needed for a test (#1035)
* Delay downloading engines until needed Also, - Since the Sjeng site seems unreliable recently, skip the test if the download fails. - Use a local logger instead of the one from lichess_bot. * Delay downloading the opening book until needed * Use exceptions for engine download errors * Skip tests when engine dowloads fail * Spacing * Skip tests that can't be run * Add time for downloading engines * Download stockfish in test_homemade() In case the tests are run in a different order. * Download stockfish in lichess_org_simulator() Since stockfish is used as the opponent in all engine tests, make sure it exists in case the tests are run in a different order.
- Loading branch information
Showing
2 changed files
with
54 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters