summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/snappy.py
blob: 3e2f59246c30d451805c6227fa8b620ec086f049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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