Commit f972220b authored by Frank Vanderham's avatar Frank Vanderham Committed by Jelle van der Waa
Browse files

Fix false positive in test due to changed error

Under Python 3, the error message that is expected to be returned has
changed. This fixes the 'expected' error so that the test succeeds and
fails as required.
parent 708442da
......@@ -44,7 +44,7 @@ def test_decode_subject(self):
def test_invalid_args(self):
with self.assertRaises(CommandError) as e:
call_command('donor_import')
self.assertIn('Error: too few arguments', str(e.exception))
self.assertIn('Error: the following arguments are required', str(e.exception))
def test_invalid_path(self):
with self.assertRaises(CommandError) as e:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment