summaryrefslogtreecommitdiff
path: root/tests/unittests/test_version.py
blob: 1662ce0993998d784d82e18ebcb91c13165b235d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# This file is part of cloud-init. See LICENSE file for license information.

from .helpers import CiTestCase
from cloudinit import version


class TestExportsFeatures(CiTestCase):
    def test_has_network_config_v1(self):
        self.assertIn('NETWORK_CONFIG_V1', version.FEATURES)

    def test_has_network_config_v2(self):
        self.assertIn('NETWORK_CONFIG_V2', version.FEATURES)

# vi: ts=4 expandtab