Skip to content
Snippets Groups Projects
Unverified Commit 840b5da1 authored by Awais Qureshi's avatar Awais Qureshi Committed by GitHub
Browse files

Merge pull request #21814 from edx/awais786/BOM-529

BOM-529
parents e7dadeb2 9b39f915
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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment