From 34487ae21fca1e75631931b47921b8185a4d3ca0 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 4 May 2018 12:15:47 +0200 Subject: API v5: Fix URL in TestGetMazaDataAPI5. --- rscalib/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rscalib') diff --git a/rscalib/tests/__init__.py b/rscalib/tests/__init__.py index 6558d0a..7685553 100644 --- a/rscalib/tests/__init__.py +++ b/rscalib/tests/__init__.py @@ -128,7 +128,7 @@ class TestGetMazaDataAPI5(TestCase): credentials = base64.encodebytes(b'foo:bar').decode('ascii') expected = 'Basic %s' % credentials self.assertEqual('GET', request.get_method()) - self.assertEqual('https://uccs.landscape.canonical.com/api/4/', + self.assertEqual('https://uccs.landscape.canonical.com/api/5/', request.get_full_url()) self.assertEqual(expected, request.headers['Authorization']) -- cgit v1.2.3