diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2019-04-12 09:11:13 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2019-05-11 17:37:57 +0100 |
commit | d50c5c62a628d1f56f81f2cdc6e48042f4e344f0 (patch) | |
tree | 04ae2c672bbc88ccf156c3be6c6eb828fd5d6970 /tests | |
parent | 5678559b6bc88657f3c63f2da885bc1cacbbf07e (diff) |
remove test for ComposeCommand._set_from..
.. which was replaced earlier
Diffstat (limited to 'tests')
-rw-r--r-- | tests/commands/test_global.py | 14 |
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): |