MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / test_tree

Method test_tree

unit-tests/test_command_folder.py:53–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 self.assertNotEqual(owd, params.current_folder)
52
53 def test_tree(self):
54 params = get_synced_params()
55 cmd = folder.FolderTreeCommand()
56
57 with mock.patch('builtins.print'):
58 cmd.execute(params)
59 with self.assertRaises(CommandError):
60 cmd.execute(params, folder='Invalid')
61
62 def test_make_folder(self):
63 params = get_synced_params()

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
get_synced_paramsFunction · 0.90

Tested by

no test coverage detected