From ef5eb34274c6770810abeb5f0c7b5b13b2cb3a67 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 19 Oct 2011 14:57:32 +0200 Subject: [PATCH] update test for upcomming change: /__debug/__cdist_debug/ Signed-off-by: Steven Armstrong --- lib/cdist/test/code/__init__.py | 2 +- lib/cdist/test/explorer/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cdist/test/code/__init__.py b/lib/cdist/test/code/__init__.py index c9761a4b..514acb4a 100644 --- a/lib/cdist/test/code/__init__.py +++ b/lib/cdist/test/code/__init__.py @@ -120,4 +120,4 @@ class CodeTestCase(unittest.TestCase): def test_debug_env_setup(self): self.log.setLevel(logging.DEBUG) code = cdist.core.code.Code(self.target_host, self.local, self.remote) - self.assertTrue("__debug" in code.env) + self.assertTrue("__cdist_debug" in code.env) diff --git a/lib/cdist/test/explorer/__init__.py b/lib/cdist/test/explorer/__init__.py index fe23b7e2..341371cd 100644 --- a/lib/cdist/test/explorer/__init__.py +++ b/lib/cdist/test/explorer/__init__.py @@ -130,4 +130,4 @@ class ExplorerClassTestCase(unittest.TestCase): def test_debug_env_setup(self): self.log.setLevel(logging.DEBUG) explorer = cdist.core.explorer.Explorer(self.target_host, self.local, self.remote) - self.assertTrue("__debug" in explorer.env) + self.assertTrue("__cdist_debug" in explorer.env)