fix tests to work (not code :-)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-10-18 09:57:50 +02:00
parent a1b9bec8ce
commit 50cb8807bf
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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)