def test_no_existing_accounts(self):
    'Test that no existing account is handled correctly'
    mock_storage = mock.MagicMock()
    mock_storage.find_all.return_value = []
    self.mocks['account'].AccountFileStorage.return_value = mock_storage
    self.assertEqual(self._call(['update_account', '--email', 'example@example.com']), 'Could not find an existing account to update.')
Test that no existing account is handled correctly
def test_no_existing_accounts(self):
    
    mock_storage = mock.MagicMock()
    mock_storage.find_all.return_value = []
    self.mocks['account'].AccountFileStorage.return_value = mock_storage
    self.assertEqual(self._call(['update_account', '--email', 'example@example.com']), 'Could not find an existing account to update.')