Skip to content

Commit

Permalink
Travis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel committed Jan 9, 2018
1 parent 0c2a534 commit 9273119
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ sudo: false
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
Expand Down
14 changes: 10 additions & 4 deletions tests/test_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@ def test_example(self):
if self.in_recording:
run_all_samples()
else:
with mock.patch.dict('os.environ',
{"ENTITYSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
"WEBSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000"}):
run_all_samples()
with mock.patch.dict('os.environ', {
"ENTITYSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
"WEBSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
"SPELLCHECK_SUBSCRIPTION_KEY": "0000000000000000000000000000",
"CUSTOMSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
"IMAGESEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
"NEWSSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
"WEBSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
}):
run_all_samples()



Expand Down

0 comments on commit 9273119

Please sign in to comment.