Fix broken tests by simplifying the CourseFactory
The data argument was being treated specially, but that was just because we didn't have **kwargs support. Now we do. There are two uses of data=, one we convert to kwargs, the other was actually unused, so remove it completely.
Showing
- common/lib/xmodule/xmodule/modulestore/tests/factories.py 2 additions, 6 deletionscommon/lib/xmodule/xmodule/modulestore/tests/factories.py
- lms/djangoapps/courseware/tests/__init__.py 1 addition, 3 deletionslms/djangoapps/courseware/tests/__init__.py
- lms/djangoapps/instructor/tests/test_gradebook.py 3 additions, 3 deletionslms/djangoapps/instructor/tests/test_gradebook.py
Please register or sign in to comment