summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/snappy.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/testcases/modules/snappy.py')
-rw-r--r--tests/cloud_tests/testcases/modules/snappy.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/cloud_tests/testcases/modules/snappy.py b/tests/cloud_tests/testcases/modules/snappy.py
new file mode 100644
index 00000000..3e2f5924
--- /dev/null
+++ b/tests/cloud_tests/testcases/modules/snappy.py
@@ -0,0 +1,18 @@
+# This file is part of cloud-init. See LICENSE file for license information.
+
+"""cloud-init Integration Test Verify Script"""
+from tests.cloud_tests.testcases import base
+
+
+class TestSnappy(base.CloudTestCase):
+ """Test snappy module"""
+
+ def test_snappy_version(self):
+ """Test snappy version output"""
+ out = self.get_data_file('snap_version')
+ self.assertIn('snap ', out)
+ self.assertIn('snapd ', out)
+ self.assertIn('series ', out)
+ self.assertIn('ubuntu ', out)
+
+# vi: ts=4 expandtab