From 88a1e34f3004defd6020f753c9ecec9669302d96 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Mon, 10 Oct 2011 09:44:29 +0200 Subject: [PATCH] test for Object object_id Signed-off-by: Steven Armstrong --- lib/cdist/test/object/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cdist/test/object/__init__.py b/lib/cdist/test/object/__init__.py index 55af5bf9..cd6e7f04 100644 --- a/lib/cdist/test/object/__init__.py +++ b/lib/cdist/test/object/__init__.py @@ -61,6 +61,9 @@ class ObjectTestCase(unittest.TestCase): def test_name(self): self.assertEqual(self.cdist_object.name, '__third/moon') + def test_object_id(self): + self.assertEqual(self.cdist_object.object_id, 'moon') + def test_path(self): self.assertEqual(self.cdist_object.path, '__third/moon/.cdist')