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

Method setUp

unit-tests/test_api.py:26–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24
25class TestSearch(TestCase):
26 def setUp(self):
27 self.communicate_mock = mock.patch('keepercommander.api.communicate').start()
28 self.communicate_mock.side_effect = KeeperApiHelper.communicate_command
29
30 def tearDown(self):
31 mock.patch.stopall()

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected