forked from ungleich-public/cdist
Merge install feature from 4.0-pre-not-stable.
This commit is contained in:
commit
cca6693b2e
119 changed files with 2567 additions and 1 deletions
|
|
@ -113,6 +113,16 @@ class TypeTestCase(test.CdistTestCase):
|
|||
cdist_type = core.CdistType(base_path, '__not_singleton')
|
||||
self.assertFalse(cdist_type.is_singleton)
|
||||
|
||||
def test_install_is_install(self):
|
||||
base_path = fixtures
|
||||
cdist_type = core.CdistType(base_path, '__install')
|
||||
self.assertTrue(cdist_type.is_install)
|
||||
|
||||
def test_not_install_is_install(self):
|
||||
base_path = fixtures
|
||||
cdist_type = core.CdistType(base_path, '__not_install')
|
||||
self.assertFalse(cdist_type.is_install)
|
||||
|
||||
def test_with_explorers(self):
|
||||
base_path = fixtures
|
||||
cdist_type = core.CdistType(base_path, '__with_explorers')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue