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

Commit

Permalink
[#443] Try to fix SSL error on 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 9b6842d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Expand Up @@ -80,6 +80,7 @@ variables:
name: run tests
command: |
. venv/bin/activate
export PYTHONHTTPSVERIFY=0
make test
- store_test_results:
Expand Down
5 changes: 5 additions & 0 deletions zdict/tests/dictionaries/test_naer.py
Expand Up @@ -12,6 +12,10 @@ class TestNaerDict:
def setup_class(cls):
cls.dict = NaerDict(get_args())

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

# You may want to change words to some certain test cases.
cls.words = ['西爾河', 'spring mass']
cls.not_found_word = 'dsafwwe'
Expand All @@ -31,6 +35,7 @@ def setup_class(cls):
def teardown_class(cls):
del cls.dict
del cls.words
del cls.not_found_word
del cls.records
del cls.verbose_records

Expand Down

0 comments on commit 9b6842d

Please sign in to comment.