From 8384176080156f3fb6b3087eb5e26b177827c963 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Mon, 10 Oct 2011 09:36:48 +0200 Subject: [PATCH] test Object explorer_path Signed-off-by: Steven Armstrong --- lib/cdist/test/object/__init__.py | 3 +++ .../object/fixtures/object/__third/moon/.cdist/explorer/.keep | 0 2 files changed, 3 insertions(+) create mode 100644 lib/cdist/test/object/fixtures/object/__third/moon/.cdist/explorer/.keep diff --git a/lib/cdist/test/object/__init__.py b/lib/cdist/test/object/__init__.py index c1685c58..55af5bf9 100644 --- a/lib/cdist/test/object/__init__.py +++ b/lib/cdist/test/object/__init__.py @@ -76,4 +76,7 @@ class ObjectTestCase(unittest.TestCase): def test_parameter_path(self): self.assertEqual(self.cdist_object.parameter_path, '__third/moon/.cdist/parameter') + def test_explorer_path(self): + self.assertEqual(self.cdist_object.explorer_path, '__third/moon/.cdist/explorer') + #suite = unittest.TestLoader().loadTestsFromTestCase(ObjectTestCase) diff --git a/lib/cdist/test/object/fixtures/object/__third/moon/.cdist/explorer/.keep b/lib/cdist/test/object/fixtures/object/__third/moon/.cdist/explorer/.keep new file mode 100644 index 00000000..e69de29b