~curtin-dev/curtin/trunk

« back to all changes in this revision

Viewing changes to tests/unittests/test_feature.py

  • Committer: Scott Moser
  • Date: 2017-12-20 17:33:03 UTC
  • Revision ID: smoser@ubuntu.com-20171220173303-29gha5qb8wpqrd40
README: Mention move of revision control to git.

curtin development has moved its revision control to git.
It is available at
  https://code.launchpad.net/curtin

Clone with
  git clone https://git.launchpad.net/curtin
or
  git clone git+ssh://git.launchpad.net/curtin

For more information see
  http://curtin.readthedocs.io/en/latest/topics/development.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from .helpers import CiTestCase
2
 
 
3
 
import curtin
4
 
 
5
 
 
6
 
class TestExportsFeatures(CiTestCase):
7
 
    def test_has_storage_v1(self):
8
 
        self.assertIn('STORAGE_CONFIG_V1', curtin.FEATURES)
9
 
 
10
 
    def test_has_storage_v1_dd(self):
11
 
        self.assertIn('STORAGE_CONFIG_V1_DD', curtin.FEATURES)
12
 
 
13
 
    def test_has_network_v1(self):
14
 
        self.assertIn('NETWORK_CONFIG_V1', curtin.FEATURES)
15
 
 
16
 
    def test_has_reporting_events_webhook(self):
17
 
        self.assertIn('REPORTING_EVENTS_WEBHOOK', curtin.FEATURES)
18
 
 
19
 
    def test_has_centos_apply_network_config(self):
20
 
        self.assertIn('CENTOS_APPLY_NETWORK_CONFIG', curtin.FEATURES)