test for Object object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
8384176080
commit
88a1e34f30
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ class ObjectTestCase(unittest.TestCase):
|
||||||
def test_name(self):
|
def test_name(self):
|
||||||
self.assertEqual(self.cdist_object.name, '__third/moon')
|
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):
|
def test_path(self):
|
||||||
self.assertEqual(self.cdist_object.path, '__third/moon/.cdist')
|
self.assertEqual(self.cdist_object.path, '__third/moon/.cdist')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue