X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=apex.git;a=blobdiff_plain;f=apex%2Ftests%2Ftest_apex_common_utils.py;fp=apex%2Ftests%2Ftest_apex_common_utils.py;h=1ecb7df6def149c8d013ae5242c6f3543098caba;hp=f307990d87ad82fb55f7704b0395ba993dc5c41a;hb=4cbad53ea9293fd51c5ffc368ca01787549472f7;hpb=e1c6f92cdac07949b00c758bab5c79ff20639dd9 diff --git a/apex/tests/test_apex_common_utils.py b/apex/tests/test_apex_common_utils.py index f307990d..1ecb7df6 100644 --- 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_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')