summaryrefslogtreecommitdiff
path: root/tests/unittests/test_version.py
blob: d012f69ddfcf8948f4b6d16ea19abde3821f33f3 (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 cloudinit.tests.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