Skip to content

Commit

Permalink
tests: rework url check loop (linting)
Browse files Browse the repository at this point in the history
Signed-off-by: James Knight <[email protected]>
  • Loading branch information
jdknight committed Dec 5, 2024
1 parent c17a1fc commit d14897d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit-tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d14897d

Please sign in to comment.