From f1fdf0f13c4c92564acb55b232137f6953e90378 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 13 Oct 2011 13:21:15 +0200 Subject: [PATCH] add assertion for test_run_global_explorer Signed-off-by: Steven Armstrong --- lib/cdist/test/explorer/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cdist/test/explorer/__init__.py b/lib/cdist/test/explorer/__init__.py index bc1ef820..5974b43a 100644 --- a/lib/cdist/test/explorer/__init__.py +++ b/lib/cdist/test/explorer/__init__.py @@ -72,9 +72,9 @@ class ExplorerClassTestCase(unittest.TestCase): self.assertEqual(os.listdir(source), os.listdir(destination)) def test_run_global_explorer(self): - # FIXME: test result self.explorer.transfer_global_explorers() - self.explorer.run_global_explorer('global') + output = self.explorer.run_global_explorer('global') + self.assertEqual(output, 'global\n') def test_transfer_type_explorers(self): cdist_type = core.Type(self.local.type_path, '__test_type')