Skip to content

Commit 9273119

Browse files
committed
Travis fix
1 parent 0c2a534 commit 9273119

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ sudo: false
22
language: python
33
python:
44
- "2.7"
5-
- "3.3"
65
- "3.4"
76
- "3.5"
87
- "3.6"

tests/test_example.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,16 @@ def test_example(self):
2727
if self.in_recording:
2828
run_all_samples()
2929
else:
30-
with mock.patch.dict('os.environ',
31-
{"ENTITYSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
32-
"WEBSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000"}):
33-
run_all_samples()
30+
with mock.patch.dict('os.environ', {
31+
"ENTITYSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
32+
"WEBSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
33+
"SPELLCHECK_SUBSCRIPTION_KEY": "0000000000000000000000000000",
34+
"CUSTOMSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
35+
"IMAGESEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
36+
"NEWSSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
37+
"WEBSEARCH_SUBSCRIPTION_KEY": "0000000000000000000000000000",
38+
}):
39+
run_all_samples()
3440

3541

3642

0 commit comments

Comments
 (0)