summaryrefslogtreecommitdiff
path: root/ick2/versionapi_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'ick2/versionapi_tests.py')
-rw-r--r--ick2/versionapi_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ick2/versionapi_tests.py b/ick2/versionapi_tests.py
index b8d59d5..32f9808 100644
--- a/ick2/versionapi_tests.py
+++ b/ick2/versionapi_tests.py
@@ -23,13 +23,16 @@ class VersionAPITests(unittest.TestCase):
def test_returns_version_correcly(self):
bloburl = 'https://blobs.example.com'
+ idpurl = 'https://idp.example.com'
api = ick2.VersionAPI(None)
api.set_artifact_store_url(bloburl)
+ api.set_auth_url(idpurl)
response = api.get_version()
self.assertEqual(
response,
{
'version': ick2.__version__,
'artifact_store': bloburl,
+ 'auth_url': idpurl,
}
)