summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Finney <ben+python@benfinney.id.au>2018-04-23 16:24:50 +1000
committerBen Finney <ben@benfinney.id.au>2018-04-23 19:54:46 +1000
commitc7770fc391100be63e2101305473796569b6a3ec (patch)
tree105398b3bb2239a24bec72c7c3e39cb683c1ccdc /tests
parentd01d2e51da45dd87f0abf98b8a856f3b3de69153 (diff)
Rename some test functions to have shorter names.
Diffstat (limited to 'tests')
-rw-r--r--tests/commands/thread_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/commands/thread_test.py b/tests/commands/thread_test.py
index 6897a953..81328410 100644
--- a/tests/commands/thread_test.py
+++ b/tests/commands/thread_test.py
@@ -163,7 +163,7 @@ class TestDetermineSender(unittest.TestCase):
expected = (u'to@example.com', account2)
self._test(accounts=[account1, account2, account3], expected=expected)
- def test_force_realname_includes_real_name_in_returned_address_if_defined(self):
+ def test_force_realname_has_real_name_in_returned_address_if_defined(self):
account1 = _AccountTestClass(address=u'foo@example.com')
account2 = _AccountTestClass(address=u'to@example.com', realname='Bar')
account3 = _AccountTestClass(address=u'baz@example.com')
@@ -179,7 +179,7 @@ class TestDetermineSender(unittest.TestCase):
self._test(accounts=[account1, account2, account3], expected=expected,
force_realname=True)
- def test_with_force_address_main_address_is_used_regardless_of_matching_address(self):
+ def test_with_force_address_main_address_is_always_used(self):
# In python 3.4 this and the next test could be written as subtests.
account1 = _AccountTestClass(address=u'foo@example.com')
account2 = _AccountTestClass(address=u'bar@example.com',