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

Method test_whoami

unit-tests/test_command_utils.py:65–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 mock.patch.stopall()
64
65 def test_whoami(self):
66 params = get_synced_params()
67
68 cmd = utils.WhoamiCommand()
69 with mock.patch('builtins.print'):
70 cmd.execute(params, verbose=True)
71
72 def test_login(self):
73 params = get_user_params()

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
get_synced_paramsFunction · 0.90

Tested by

no test coverage detected