Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ccc97c

Browse files
committed
adjust wrong assertion in tests
1 parent 10725ee commit 7ccc97c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stream/tests.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_collections_url_location(self):
191191

192192
if not self.local_tests:
193193
self.assertEqual(
194-
feed_url, 'https://api-tokyo.stream-io-api.com/api/v1.0/meta/')
194+
feed_url, 'https://tokyo-api.stream-io-api.com/api/v1.0/meta/')
195195

196196
def test_personalization_url_location(self):
197197
client = stream.connect(
@@ -203,7 +203,7 @@ def test_personalization_url_location(self):
203203

204204
if not self.local_tests:
205205
self.assertEqual(
206-
feed_url, 'https://personalization-tokyo.stream-io-api.com/personalization/v1.0/recommended')
206+
feed_url, 'https://tokyo-personalization.stream-io-api.com/personalization/v1.0/recommended')
207207

208208
def test_api_url_location(self):
209209
client = stream.connect(
@@ -215,7 +215,7 @@ def test_api_url_location(self):
215215

216216
if not self.local_tests:
217217
self.assertEqual(
218-
feed_url, 'https://api-tokyo.stream-io-api.com/api/v1.0/feed/')
218+
feed_url, 'https://tokyo-api.stream-io-api.com/api/v1.0/feed/')
219219

220220
def test_update_activities_create(self):
221221
activities = [{

0 commit comments

Comments
 (0)