diff options
Diffstat (limited to 'tests/unittests/distros/test_opensuse.py')
-rw-r--r-- | tests/unittests/distros/test_opensuse.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unittests/distros/test_opensuse.py b/tests/unittests/distros/test_opensuse.py new file mode 100644 index 00000000..4a4b266f --- /dev/null +++ b/tests/unittests/distros/test_opensuse.py @@ -0,0 +1,11 @@ +# This file is part of cloud-init. See LICENSE file for license information. + +from tests.unittests.helpers import CiTestCase + +from . import _get_distro + + +class TestopenSUSE(CiTestCase): + def test_get_distro(self): + distro = _get_distro("opensuse") + self.assertEqual(distro.osfamily, "suse") |