test for test_list_global_explorer_names

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/feature_files_export
Steven Armstrong 14 years ago
parent ac79ec101f
commit f02bdf3e61
  1. 4
      lib/cdist/test/explorer/__init__.py

@ -65,6 +65,10 @@ class ExplorerClassTestCase(unittest.TestCase):
shutil.rmtree(self.out_path) shutil.rmtree(self.out_path)
shutil.rmtree(self.remote_base_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): def test_transfer_global_explorers(self):
self.explorer.transfer_global_explorers() self.explorer.transfer_global_explorers()
source = self.local.global_explorer_path source = self.local.global_explorer_path

Loading…
Cancel
Save