summaryrefslogtreecommitdiff
path: root/tests/unittests/distros/test_sles.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/distros/test_sles.py')
-rw-r--r--tests/unittests/distros/test_sles.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unittests/distros/test_sles.py b/tests/unittests/distros/test_sles.py
new file mode 100644
index 00000000..66b8b13d
--- /dev/null
+++ b/tests/unittests/distros/test_sles.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 TestSLES(CiTestCase):
+ def test_get_distro(self):
+ distro = _get_distro("sles")
+ self.assertEqual(distro.osfamily, "suse")