summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/apt_configure_security.py
blob: 19c79c644b56c88261b2b9919f726f569fc2fbef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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 TestAptconfigureSecurity(base.CloudTestCase):
    """Test apt-configure module"""

    def test_security_mirror(self):
        """Test security lines added and uncommented in source.list"""
        out = self.get_data_file('sources.list')
        self.assertEqual(6, int(out))

# vi: ts=4 expandtab