BOM-529
Python3 fix.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user