diff options
Diffstat (limited to 'test/units/module_utils/common/test_sys_info.py')
-rw-r--r-- | test/units/module_utils/common/test_sys_info.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/module_utils/common/test_sys_info.py b/test/units/module_utils/common/test_sys_info.py index 1fd31bac96..cd68225da3 100644 --- a/test/units/module_utils/common/test_sys_info.py +++ b/test/units/module_utils/common/test_sys_info.py @@ -59,6 +59,9 @@ class TestGetDistribution: with patch('ansible.module_utils.distro.id', return_value="debian"): assert get_distribution() == "Debian" + with patch('ansible.module_utils.distro.id', return_value="flatcar"): + assert get_distribution() == "Flatcar" + with patch('ansible.module_utils.distro.id', return_value="linuxmint"): assert get_distribution() == "Linuxmint" |