forked from ungleich-public/cdist
add assertion for test_run_global_explorer
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
f846fdd961
commit
f1fdf0f13c
1 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue