Skip to content

Commit e6880e1

Browse files
committed
More unit test URL troubleshooting
1 parent a674656 commit e6880e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_cached_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ def test_cached_request(self):
4848
self.assertEqual(res.content, cached.content)
4949

5050
def test_request_no_cache(self):
51-
url = "https://neon.ai/Company"
51+
url = "https://hana.neonaiservices.com/docs"
5252
res = self.api.session.get(url, timeout=10)
5353
with self.api.session.cache_disabled():
5454
cached = self.api.session.get(url, timeout=10)
5555
self.assertFalse(cached.from_cache)
5656
self.assertEqual(res.content, cached.content)
5757

5858
def test_get_with_cache_timeout(self):
59-
url = "https://chatbotsforum.org"
59+
url = "https://www.chatbotsforum.org"
6060
res = self.api.get_with_cache_timeout(url, 5)
6161
self.assertFalse(res.from_cache)
6262
cached = self.api.get_with_cache_timeout(url, 15)

0 commit comments

Comments
 (0)