forked from ungleich-public/cdist
test for Object requirements
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
0ba6d55191
commit
b1efc27b39
1 changed files with 4 additions and 0 deletions
|
@ -86,4 +86,8 @@ class ObjectTestCase(unittest.TestCase):
|
|||
expected_parameters = {'planet': 'Saturn', 'name': 'Prometheus'}
|
||||
self.assertEqual(self.cdist_object.parameters, expected_parameters)
|
||||
|
||||
def test_requirements(self):
|
||||
expected = []
|
||||
self.assertEqual(list(self.cdist_object.requirements), expected)
|
||||
|
||||
#suite = unittest.TestLoader().loadTestsFromTestCase(ObjectTestCase)
|
||||
|
|
Loading…
Reference in a new issue