From f8370ddc1c868a43a95614d095746e349e17f3f3 Mon Sep 17 00:00:00 2001 From: Tony Tung Date: Wed, 25 Apr 2018 11:57:51 -0700 Subject: [PATCH] Provide schema for URLs. https://github.com/HumanCellAtlas/data-store/pull/1178/commits/6212d1e109ee1ce0b3af06b2354d1236f176fbe5 changed the validation for subscription callbacks. --- test/test_dss_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_dss_api.py b/test/test_dss_api.py index dd352bc5..8fc7a271 100755 --- a/test/test_dss_api.py +++ b/test/test_dss_api.py @@ -95,7 +95,7 @@ def test_python_subscriptions(self): client = hca.dss.DSSClient() query = {'bool': {}} - resp = client.put_subscription(es_query=query, callback_url="www.example.com", replica="aws") + resp = client.put_subscription(es_query=query, callback_url="https://www.example.com", replica="aws") subscription_uuid = resp['uuid'] resp = client.get_subscriptions(replica="aws") @@ -126,7 +126,7 @@ def test_search(self): def test_python_login_logout(self): client = hca.dss.DSSClient() query = {'bool': {}} - resp = client.put_subscription(es_query=query, callback_url="www.example.com", replica="aws") + resp = client.put_subscription(es_query=query, callback_url="https://www.example.com", replica="aws") self.assertIn("uuid", resp) access_token = "test_access_token"