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