summaryrefslogtreecommitdiff
path: root/tests/commands/test_global.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/commands/test_global.py')
-rw-r--r--tests/commands/test_global.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/commands/test_global.py b/tests/commands/test_global.py
index 60ad7993..8fab79ce 100644
--- a/tests/commands/test_global.py
+++ b/tests/commands/test_global.py
@@ -118,8 +118,7 @@ class TestComposeCommand(unittest.TestCase):
cmd._set_envelope()
with mock.patch('alot.commands.globals.settings.get_accounts',
mock.Mock(return_value=[account])):
- await cmd._set_from()
-
+ await cmd._set_from(mock.Mock())
class TestExternalCommand(unittest.TestCase):