Skip to content
Snippets Groups Projects
Commit 9b39f915 authored by Awais Qureshi's avatar Awais Qureshi
Browse files

BOM-529

Python3 fix.
parent 12140e5b
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,12 @@ class TestFixNotFound(ModuleStoreTestCase):
"""
Test fix_not_found command with no arguments
"""
with self.assertRaisesRegexp(CommandError, "Error: too few arguments"):
if six.PY2:
msg = "Error: too few arguments"
else:
msg = "Error: the following arguments are required: course_id"
with self.assertRaisesRegexp(CommandError, msg):
call_command('fix_not_found')
def test_fix_not_found_non_split(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment