Code Review
/
apex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixes undercloud install failure with setting hostname
[apex.git]
/
apex
/
tests
/
test_apex_common_utils.py
diff --git
a/apex/tests/test_apex_common_utils.py
b/apex/tests/test_apex_common_utils.py
index
f307990
..
1ecb7df
100644
(file)
--- a/
apex/tests/test_apex_common_utils.py
+++ b/
apex/tests/test_apex_common_utils.py
@@
-155,3
+155,8
@@
class TestCommonUtils:
def test_unique(self):
dummy_list = [1, 2, 1, 3, 4, 5, 5]
assert_equal(utils.unique(dummy_list), [1, 2, 3, 4, 5])
def test_unique(self):
dummy_list = [1, 2, 1, 3, 4, 5, 5]
assert_equal(utils.unique(dummy_list), [1, 2, 3, 4, 5])
+
+ def test_find_container_client(self):
+ for version in 'rocky', 'queens':
+ assert_equal(utils.find_container_client(version), 'docker')
+ assert_equal(utils.find_container_client('master'), 'podman')