diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2017-06-22 23:40:51 +0200 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2017-06-22 23:54:16 +0200 |
commit | 674d9acabfbc130a2e19acc2dd1811e8843fb483 (patch) | |
tree | 704f81d8269acbf0cabc09f838761803a0aae8fc /tests | |
parent | f3337159112a8342403e54e9dff241f5f3a6af27 (diff) |
Remember matched account explicitly
Otherwise the next account in the for loop might have been returned if
the account was found to match with its last alias.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/commands/thread_test.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/commands/thread_test.py b/tests/commands/thread_test.py index fbd42d67..be358c48 100644 --- a/tests/commands/thread_test.py +++ b/tests/commands/thread_test.py @@ -156,7 +156,6 @@ class TestDetermineSender(unittest.TestCase): expected = ('foo@example.com', account1) self._test(accounts=[account1, account2], expected=expected) - @unittest.expectedFailure def test_matching_address_and_account_are_returned(self): account1 = _AccountTestClass(address='foo@example.com') account2 = _AccountTestClass(address='to@example.com') |