summaryrefslogtreecommitdiffstats
path: root/mod/distributorapi/tests/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'mod/distributorapi/tests/test_utils.py')
-rw-r--r--mod/distributorapi/tests/test_utils.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/mod/distributorapi/tests/test_utils.py b/mod/distributorapi/tests/test_utils.py
index 481e325..f6530a3 100644
--- a/mod/distributorapi/tests/test_utils.py
+++ b/mod/distributorapi/tests/test_utils.py
@@ -1,5 +1,5 @@
# ============LICENSE_START=======================================================
-# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2019-2022 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,9 +16,12 @@
from distributor import utils
+# more tests are in test_api.py
+
+
def test_urljoin():
assert "http://foo/bar/baz" == utils.urljoin("http://foo", "bar", "baz")
assert "http://foo/bar/baz" == utils.urljoin("http://foo/", "bar", "baz")
- assert "http://foo/bar/baz?name=some-name&version=1.5.0" \
- == utils.urljoin("http://foo", "bar", "baz", **{"name": "some-name",
- "version": "1.5.0"})
+ assert "http://foo/bar/baz?name=some-name&version=1.5.0" == utils.urljoin(
+ "http://foo", "bar", "baz", **{"name": "some-name", "version": "1.5.0"}
+ )