summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/apt_configure_security.py
blob: 7d7e258571bb24264148bb68fe3706c990de0798 (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