summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/lxd_dir.py
blob: 51a9a1f1582d3697de442d7f45392903fc226458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 TestLxdDir(base.CloudTestCase):
    """Test LXD module"""

    def test_lxd(self):
        """Test lxd installed"""
        out = self.get_data_file('lxd')
        self.assertIn('/usr/bin/lxd', out)

    def test_lxc(self):
        """Test lxc installed"""
        out = self.get_data_file('lxc')
        self.assertIn('/usr/bin/lxc', out)

# vi: ts=4 expandtab