fix tests to work (not code :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
a1b9bec8ce
commit
50cb8807bf
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# 2010-2011 Steven Armstrong (steven-cdist at armstrong.cc)
|
||||
# 2011 Nico Schottelius (nico-cdist at schottelius.org)
|
||||
#
|
||||
# This file is part of cdist.
|
||||
#
|
||||
|
@ -62,7 +63,7 @@ class ExplorerClassTestCase(unittest.TestCase):
|
|||
|
||||
self.explorer = explorer.Explorer(self.target_host, self.local, self.remote)
|
||||
|
||||
self.log = logging.getLogger("cdist")
|
||||
self.log = logging.getLogger(self.target_host)
|
||||
|
||||
def tearDown(self):
|
||||
shutil.rmtree(self.out_path)
|
||||
|
|
|
@ -55,7 +55,7 @@ class ManifestTestCase(unittest.TestCase):
|
|||
self.local.create_directories()
|
||||
self.local.link_emulator(cdist.test.cdist_exec_path)
|
||||
self.manifest = manifest.Manifest(self.target_host, self.local)
|
||||
self.log = logging.getLogger("cdist")
|
||||
self.log = logging.getLogger(self.target_host)
|
||||
|
||||
def tearDown(self):
|
||||
shutil.rmtree(self.temp_dir)
|
||||
|
|
Loading…
Reference in a new issue