From f846fdd961501d4133042d49123e4ca8b57d10b3 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 13 Oct 2011 13:20:07 +0200 Subject: [PATCH] add assertion for test_transfer_global_explorers Signed-off-by: Steven Armstrong --- lib/cdist/test/explorer/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cdist/test/explorer/__init__.py b/lib/cdist/test/explorer/__init__.py index e6b36f1b..bc1ef820 100644 --- a/lib/cdist/test/explorer/__init__.py +++ b/lib/cdist/test/explorer/__init__.py @@ -66,8 +66,10 @@ class ExplorerClassTestCase(unittest.TestCase): shutil.rmtree(self.remote_base_path) def test_transfer_global_explorers(self): - # FIXME: test result self.explorer.transfer_global_explorers() + source = self.local.global_explorer_path + destination = self.remote.global_explorer_path + self.assertEqual(os.listdir(source), os.listdir(destination)) def test_run_global_explorer(self): # FIXME: test result