test for Object object_id

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-10 09:44:29 +02:00
parent 8384176080
commit 88a1e34f30
1 changed files with 3 additions and 0 deletions

View File

@ -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')