test for Object requirements

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/feature_files_export
Steven Armstrong 14 years ago
parent 0ba6d55191
commit b1efc27b39
  1. 4
      lib/cdist/test/object/__init__.py

@ -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…
Cancel
Save