add assertion for test_run_global_explorer

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-10-13 13:21:15 +02:00
parent f846fdd961
commit f1fdf0f13c

View file

@ -72,9 +72,9 @@ class ExplorerClassTestCase(unittest.TestCase):
self.assertEqual(os.listdir(source), os.listdir(destination)) self.assertEqual(os.listdir(source), os.listdir(destination))
def test_run_global_explorer(self): def test_run_global_explorer(self):
# FIXME: test result
self.explorer.transfer_global_explorers() 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): def test_transfer_type_explorers(self):
cdist_type = core.Type(self.local.type_path, '__test_type') cdist_type = core.Type(self.local.type_path, '__test_type')