diff --git a/tests/unit-tests/test_util.py b/tests/unit-tests/test_util.py index 17a75b1b..03966431 100644 --- a/tests/unit-tests/test_util.py +++ b/tests/unit-tests/test_util.py @@ -18,5 +18,5 @@ def test_util_normalize_baseurl(self): 'https://intranet-wiki.example.com/rest/api/': 'https://intranet-wiki.example.com/', 'http://example.atlassian.net/wiki': 'http://example.atlassian.net/wiki/', } - for key in data: - self.assertEqual(ConfluenceUtil.normalize_base_url(key), data[key]) + for key, val in data.items(): + self.assertEqual(ConfluenceUtil.normalize_base_url(key), val)