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