def test_update_account_with_multiple_emails(self):
    'Test that multiple email addresses are handled correctly'
    (_, mock_storage, mock_regr) = self._prepare_mock_account()
    self.assertIsNone(self._call(['update_account', '-m', 'example@example.com,example@example.com']))
    mock_regr.body.update.assert_called_with(contact=['mailto:example@example.com', 'mailto:example@example.com'])
    self.assertEqual(mock_storage.update_regr.call_count, 1)
    self.mocks['notify'].assert_called_with('Your e-mail address was updated to example@example.com,example@example.com.')
Test that multiple email addresses are handled correctly
def test_update_account_with_multiple_emails(self):
    
    (_, mock_storage, mock_regr) = self._prepare_mock_account()
    self.assertIsNone(self._call(['update_account', '-m', 'example@example.com,example@example.com']))
    mock_regr.body.update.assert_called_with(contact=['mailto:example@example.com', 'mailto:example@example.com'])
    self.assertEqual(mock_storage.update_regr.call_count, 1)
    self.mocks['notify'].assert_called_with('Your e-mail address was updated to example@example.com,example@example.com.')