diff --git a/helpdesk/tests/test_get_email.py b/helpdesk/tests/test_get_email.py index d1646dbe..f20de46b 100644 --- a/helpdesk/tests/test_get_email.py +++ b/helpdesk/tests/test_get_email.py @@ -29,7 +29,7 @@ class GetEmailTestCase(TestCase): # tests correct syntax for command line option def test_get_email_quiet_option(self): with mock.patch('helpdesk.management.commands.get_email.process_email') as mocked_processemail: - call_command('get_email', '--quiet') + call_command('get_email', quiet=True) mocked_processemail.assert_called_with(quiet=True) call_command('get_email') mocked_processemail.assert_called_with(quiet=False)