From 2eb37367a18ba6168d06f61f0c98a21597df5b60 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 13 Oct 2011 13:18:34 +0200 Subject: [PATCH] add assertion for test_transfer_type_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 eb45778b..e6b36f1b 100644 --- a/lib/cdist/test/explorer/__init__.py +++ b/lib/cdist/test/explorer/__init__.py @@ -75,9 +75,11 @@ class ExplorerClassTestCase(unittest.TestCase): self.explorer.run_global_explorer('global') def test_transfer_type_explorers(self): - # FIXME: test result cdist_type = core.Type(self.local.type_path, '__test_type') self.explorer.transfer_type_explorers(cdist_type) + source = os.path.join(self.local.type_path, cdist_type.explorer_path) + destination = os.path.join(self.remote.type_path, cdist_type.explorer_path) + self.assertEqual(os.listdir(source), os.listdir(destination)) def test_transfer_object_parameters(self): cdist_type = core.Type(self.local.type_path, '__test_type')