Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
[#443] Set timeout to 60 secs for test_naer.py for CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Jheng authored and Frank Jheng committed Jul 7, 2020
1 parent 5160f86 commit 36bab99
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion zdict/tests/dictionaries/test_naer.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ def setup_class(cls):
# Change back to default verbose config
cls.dict.args.verbose = False

# Set query_timeout from 5 seconds to 60 seconds,
# so it won't timeout that often on CircleCI
cls.dict.args.query_timeout = 60

@classmethod
def teardown_class(cls):
del cls.dict
del cls.words
del cls.records
del cls.not_found_word
del cls.verbose_records
del cls.records

def test_provider(self):
assert self.dict.provider == 'naer'
Expand Down

0 comments on commit 36bab99

Please sign in to comment.