def setUp(self):
    super().setUp()
    self.config.account = None
    self.config.email = None
    self.config.register_unsafely_without_email = False
    self.accs = [mock.MagicMock(id='x'), mock.MagicMock(id='y')]
    self.account_storage = account.AccountMemoryStorage()
    self.mock_client = mock.MagicMock()
    self.mock_client.directory.new_authz = 'hi'
def setUp(self):
    super().setUp()
    self.config.account = None
    self.config.email = None
    self.config.register_unsafely_without_email = False
    self.accs = [mock.MagicMock(id='x'), mock.MagicMock(id='y')]
    self.account_storage = account.AccountMemoryStorage()
    self.mock_client = mock.MagicMock()
    self.mock_client.directory.new_authz = 'hi'