summaryrefslogtreecommitdiff
path: root/tests/commands/test_thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/commands/test_thread.py')
-rw-r--r--tests/commands/test_thread.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/commands/test_thread.py b/tests/commands/test_thread.py
index 634c35e8..46d20ac7 100644
--- a/tests/commands/test_thread.py
+++ b/tests/commands/test_thread.py
@@ -20,31 +20,6 @@ from alot.account import Account
# pylint: disable=blacklisted-name
-class Test_ensure_unique_address(unittest.TestCase):
-
- foo = 'foo <foo@example.com>'
- foo2 = 'foo the fanzy <foo@example.com>'
- bar = 'bar <bar@example.com>'
- baz = 'baz <baz@example.com>'
-
- def test_unique_lists_are_unchanged(self):
- expected = sorted([self.foo, self.bar])
- actual = thread.ReplyCommand.ensure_unique_address(expected)
- self.assertListEqual(actual, expected)
-
- def test_equal_entries_are_detected(self):
- actual = thread.ReplyCommand.ensure_unique_address(
- [self.foo, self.bar, self.foo])
- expected = sorted([self.foo, self.bar])
- self.assertListEqual(actual, expected)
-
- def test_same_address_with_different_name_is_detected(self):
- actual = thread.ReplyCommand.ensure_unique_address(
- [self.foo, self.foo2])
- expected = [self.foo2]
- self.assertListEqual(actual, expected)
-
-
class _AccountTestClass(Account):
"""Implements stubs for ABC methods."""