Skip to content
Snippets Groups Projects
Unverified Commit 6a221274 authored by Ayub's avatar Ayub Committed by GitHub
Browse files

Merge pull request #21622 from edx/BOM-455

BOM-455
parents 357fda40 d7d1f9dd
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,10 @@ class TestArgParsingCourseExportOlx(unittest.TestCase):
"""
Test export command with no arguments
"""
errstring = "Error: too few arguments"
if six.PY2:
errstring = "Error: too few arguments"
else:
errstring = "Error: the following arguments are required: course_id"
with self.assertRaisesRegexp(CommandError, errstring):
call_command('export_olx')
......
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