(self)
| 24 | |
| 25 | class 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() |