Initial integration tests!
* new env file to run integration tests with mongo backend - needs askbot to get db in the right state - needs wiki to load pages successfully - not using migrations to make it run faster * import test courses, check that each page loads without erroring. * fix NonePointerException in index view to make tests pass * misc formatting cleanups
Showing
- common/lib/xmodule/xmodule/modulestore/mongo.py 1 addition, 1 deletioncommon/lib/xmodule/xmodule/modulestore/mongo.py
- common/lib/xmodule/xmodule/modulestore/xml_importer.py 5 additions, 4 deletionscommon/lib/xmodule/xmodule/modulestore/xml_importer.py
- lms/djangoapps/courseware/tests/__init__.py 1 addition, 0 deletionslms/djangoapps/courseware/tests/__init__.py
- lms/djangoapps/courseware/tests/tests.py 144 additions, 0 deletionslms/djangoapps/courseware/tests/tests.py
- lms/djangoapps/courseware/views.py 13 additions, 4 deletionslms/djangoapps/courseware/views.py
- lms/envs/test.py 8 additions, 6 deletionslms/envs/test.py
- lms/envs/test_mongo.py 113 additions, 0 deletionslms/envs/test_mongo.py
- lms/urls.py 49 additions, 49 deletionslms/urls.py
Loading
Please register or sign in to comment