add base path and exec path to test main
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
dc21405583
commit
d690fb30cb
1 changed files with 4 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue