Commit 42de6ffa by Ben Patterson

Merge pull request #11033 from edx/benp/better-troubleshooting

bok-choy: Additional detail to assist troubleshooting CourseFixture errors 
parents 4ea93f77 bf8a30d7
...@@ -298,8 +298,8 @@ class CourseFixture(XBlockContainerFixture): ...@@ -298,8 +298,8 @@ class CourseFixture(XBlockContainerFixture):
self._course_key = response.json()['course_key'] self._course_key = response.json()['course_key']
else: else:
raise FixtureError( raise FixtureError(
"Could not create course {0}. Status was {1}".format( "Could not create course {0}. Status was {1}\nResponse content was: {2}".format(
self._course_dict, response.status_code)) self._course_dict, response.status_code, response.content))
def _configure_course(self): def _configure_course(self):
""" """
......
Markdown is supported
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