summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/commands/test_global.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/commands/test_global.py b/tests/commands/test_global.py
index 8fab79ce..acdd1f0a 100644
--- a/tests/commands/test_global.py
+++ b/tests/commands/test_global.py
@@ -105,20 +105,6 @@ class TestComposeCommand(unittest.TestCase):
'Subject': [subject]}, cmd.envelope.headers)
self.assertEqual(body, cmd.envelope.body)
- @utilities.async_test
- async def test_set_from_single_account(self):
- # issue #1277
- envelope = self._make_envelope_mock()
- del envelope.headers['From']
- envelope.account = self._make_account_mock()
- envelope.account.realname = "foo"
- envelope.account.address = 1 # maybe this should be a real Address?
- cmd = g_commands.ComposeCommand(envelope=envelope)
-
- cmd._set_envelope()
- with mock.patch('alot.commands.globals.settings.get_accounts',
- mock.Mock(return_value=[account])):
- await cmd._set_from(mock.Mock())
class TestExternalCommand(unittest.TestCase):