Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gbtami committed Jan 8, 2025
1 parent 6af1549 commit deca690
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion client/variants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,6 @@ export const enabledVariants = variants.filter(v => !disabledVariants.includes(v

// variants having 0 puzzle so far
export const noPuzzleVariants = [
"3check",
"placement",
"minishogi",
"gorogoroplus",
Expand Down
2 changes: 1 addition & 1 deletion server/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

log = logging.getLogger()

handler = MongoHandler(host=MONGO_HOST, capped=True)
handler = MongoHandler(host=MONGO_HOST, fail_silently=True, capped=True)
handler.setLevel(logging.CRITICAL)

log.addHandler(handler)
1 change: 0 additions & 1 deletion server/puzzle.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

# variants having 0 puzzle so far
NO_PUZZLE_VARIANTS = (
"3check",
"antichess",
"horde",
"shatranj",
Expand Down

0 comments on commit deca690

Please sign in to comment.