From d690fb30cbdcf81830d6db895547a34072c1baa4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 11 Oct 2011 16:26:33 +0200 Subject: [PATCH] add base path and exec path to test main Signed-off-by: Nico Schottelius --- lib/cdist/test/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/cdist/test/__init__.py b/lib/cdist/test/__init__.py index 09429470..06c87917 100644 --- a/lib/cdist/test/__init__.py +++ b/lib/cdist/test/__init__.py @@ -27,8 +27,10 @@ import unittest cdist_commands=["banner", "config", "install"] -cdist_exec_path = os.path.abspath( - os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../bin/cdist")) +cdist_base_path = os.path.abspath( + os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../")) + +cdist_exec_path = os.path.join(cdist_base_path, "bin/cdist") #class UI(unittest.TestCase): # def test_banner(self):