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

Method setUp

unit-tests/test_thycotic_add_users.py:202–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

200
201class TestCreateKeeperUser(_QuietTestCase):
202 def setUp(self):
203 super().setUp()
204 patcher = mock.patch('keepercommander.commands.enterprise_create_user.CreateEnterpriseUserCommand')
205 self.command_cls = patcher.start()
206 self.addCleanup(patcher.stop)
207
208 def test_forwards_email_and_name(self):
209 self.command_cls.return_value.execute.return_value = 'record-uid'

Callers

nothing calls this directly

Calls 2

setUpMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected