summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2017-06-22 17:37:59 +0200
committerLucas Hoffmann <l-m-h@web.de>2017-06-23 00:22:34 +0200
commite072bb81c34df5516b95029022b0bff1a7c69341 (patch)
treea645ab4647762d768638ef5edf65ddcfe2764290 /tests
parent48d23e1593f6ddad644e951072ab08ec8eb06c3a (diff)
Use account instead of realname to break loops
This fixes a bug in determine_sender where an account that did match but did not have a realname set was "not found" in case force_realname was set. Helped-By: Pol Van Aubel <dev@polvanaubel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/commands/thread_test.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/commands/thread_test.py b/tests/commands/thread_test.py
index cf39402d..66d39e94 100644
--- a/tests/commands/thread_test.py
+++ b/tests/commands/thread_test.py
@@ -171,7 +171,6 @@ class TestDetermineSender(unittest.TestCase):
self._test(accounts=[account1, account2, account3], expected=expected,
force_realname=True)
- @unittest.expectedFailure
def test_doesnt_fail_with_force_realname_if_real_name_not_defined(self):
account1 = _AccountTestClass(address='foo@example.com')
account2 = _AccountTestClass(address='to@example.com')