test and fixtures for Object parameters

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/feature_files_export
Steven Armstrong 13 years ago
parent 88a1e34f30
commit abf318ae90
  1. 4
      lib/cdist/test/object/__init__.py
  2. 1
      lib/cdist/test/object/fixtures/object/__third/moon/.cdist/parameter/name
  3. 1
      lib/cdist/test/object/fixtures/object/__third/moon/.cdist/parameter/planet

@ -82,4 +82,8 @@ class ObjectTestCase(unittest.TestCase):
def test_explorer_path(self):
self.assertEqual(self.cdist_object.explorer_path, '__third/moon/.cdist/explorer')
def test_parameters(self):
expected_parameters = {'planet': 'Saturn', 'name': 'Prometheus'}
self.assertEqual(self.cdist_object.parameters, expected_parameters)
#suite = unittest.TestLoader().loadTestsFromTestCase(ObjectTestCase)

Loading…
Cancel
Save