diff options
Diffstat (limited to 'apex/tests/test_apex_common_utils.py')
-rw-r--r-- | apex/tests/test_apex_common_utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apex/tests/test_apex_common_utils.py b/apex/tests/test_apex_common_utils.py index b6aa4c7f..412d6f49 100644 --- a/apex/tests/test_apex_common_utils.py +++ b/apex/tests/test_apex_common_utils.py @@ -151,3 +151,7 @@ class TestCommonUtils: new_data = {'parameter_defaults': settings} mock_yaml_dump.assert_called_once_with(new_data, a_mock_open(), default_flow_style=False) + + def test_unique(self): + dummy_list = [1, 2, 1, 3, 4, 5, 5] + assert_equal(utils.unique(dummy_list), [1, 2, 3, 4, 5]) |