From f02bdf3e6196285d23a7fd3ff26577ce5840f421 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Thu, 13 Oct 2011 13:30:41 +0200 Subject: [PATCH] test for test_list_global_explorer_names Signed-off-by: Steven Armstrong --- lib/cdist/test/explorer/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/cdist/test/explorer/__init__.py b/lib/cdist/test/explorer/__init__.py index a4ad4f7f..67c05913 100644 --- a/lib/cdist/test/explorer/__init__.py +++ b/lib/cdist/test/explorer/__init__.py @@ -65,6 +65,10 @@ class ExplorerClassTestCase(unittest.TestCase): shutil.rmtree(self.out_path) shutil.rmtree(self.remote_base_path) + def test_list_global_explorer_names(self): + expected = ['global'] + self.assertEqual(self.explorer.list_global_explorer_names(), expected) + def test_transfer_global_explorers(self): self.explorer.transfer_global_explorers() source = self.local.global_explorer_path