Created
August 5, 2014 14:45
-
-
Save antoviaque/42e6ed117ece3ea7f342 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| edxapp@precise64:~/edx-platform$ paver test_python | |
| ---> pavelib.tests.test_python | |
| ---> pavelib.prereqs.install_prereqs | |
| ---> pavelib.prereqs.install_ruby_prereqs | |
| Ruby prereqs unchanged, skipping... | |
| ---> pavelib.prereqs.install_node_prereqs | |
| Node prereqs unchanged, skipping... | |
| ---> pavelib.prereqs.install_python_prereqs | |
| Python prereqs unchanged, skipping... | |
| ---> pavelib.utils.test.utils.clean_reports_dir | |
| find /edx/app/edxapp/edx-platform/reports -type f -delete | |
| Setting up for Python Tests | |
| ---> pavelib.utils.test.utils.clean_test_files | |
| git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads | |
| find . -type f -name "*.pyc" -delete | |
| rm -rf test_root/log/auto_screenshots/* | |
| Setting up for cms | |
| ---> pavelib.assets.update_assets | |
| python manage.py cms --settings=test preprocess_assets | |
| xmodule_assets common/static/xmodule | |
| ---> pavelib.assets.compile_coffeescript | |
| node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"` | |
| sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass --update -E utf-8 */static | |
| python manage.py cms --settings=test collectstatic --noinput > /dev/null | |
| python -m coverage run --rcfile=cms/.coveragerc `which ./manage.py` cms test --verbosity=1 cms/djangoapps/* common/djangoapps/* cms/lib/* --traceback --settings=test | |
| ======================================== | |
| Running tests for cms | |
| ======================================== | |
| nosetests cms/djangoapps/contentstore cms/djangoapps/course_creators cms/djangoapps/models common/djangoapps/cache_toolbox common/djangoapps/config_models common/djangoapps/contentserver common/djangoapps/cors_csrf common/djangoapps/coupons common/djangoapps/course_groups common/djangoapps/course_modes common/djangoapps/dark_lang common/djangoapps/datadog common/djangoapps/django_comment_common common/djangoapps/django_future common/djangoapps/edxmako common/djangoapps/embargo common/djangoapps/external_auth common/djangoapps/geoinfo common/djangoapps/heartbeat common/djangoapps/lang_pref common/djangoapps/microsite_configuration common/djangoapps/mitxmako common/djangoapps/monitoring common/djangoapps/pipeline_js common/djangoapps/pipeline_mako common/djangoapps/request_cache common/djangoapps/reverification common/djangoapps/service_status common/djangoapps/session_inactivity_timeout common/djangoapps/static_replace common/djangoapps/status common/djangoapps/student common/djangoapps/system_manager common/djangoapps/terrain common/djangoapps/third_party_auth common/djangoapps/track common/djangoapps/user_api common/djangoapps/util common/djangoapps/xmodule_django common/djangoapps/xmodule_modifiers.py common/djangoapps/xmodule_modifiers.pyc cms/lib/__init__.py cms/lib/xblock --id-file /edx/app/edxapp/edx-platform/.testids/cms/noseids --xunit-file /edx/app/edxapp/edx-platform/reports/cms/nosetests.xml --verbosity=1 | |
| Creating test database for alias 'default'... | |
| .........------.............................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ..........-....-........-.....................-.............................. | |
| ...........................----------------........................------.... | |
| .-----------------..----.----.-.--........................................... | |
| ....----------...............----............................................ | |
| .....-....................-.---......--.....--------------------------------- | |
| --------------------..........F..............F...........-.........-......... | |
| ........--..............--..................................------........... | |
| ......................-.............-.--..................................... | |
| ...................FF...................................................... | |
| ----------------------------------------------------------------------------- | |
| 1) FAIL: test_request_in_course_context (track.tests.test_middleware.TrackMiddlewareTestCase) | |
| Traceback (most recent call last): | |
| common/djangoapps/track/tests/test_middleware.py line 95 in test_request_in_course_context | |
| self.assert_dict_subset(captured_context, expected_context_subset) | |
| common/djangoapps/track/tests/test_middleware.py line 100 in assert_dict_subset | |
| self.assertEquals(superset[key], expected_value) | |
| AssertionError: '' != 'test_org/test_course/test_run' | |
| ----------------------------------------------------------------------------- | |
| 2) FAIL: test_user_track (track.tests.test_views.TestTrackViews) | |
| Traceback (most recent call last): | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/freezegun/api.py line 210 in wrapper | |
| result = func(*args, **kwargs) | |
| common/djangoapps/track/tests/test_views.py line 59 in test_user_track | |
| self.mock_tracker.send.assert_called_once_with(expected_event) | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mock.py line 846 in assert_called_once_with | |
| return self.assert_called_with(*args, **kwargs) | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mock.py line 835 in assert_called_with | |
| raise AssertionError(msg) | |
| AssertionError: Expected call: send({'username': 'anonymous', 'event_type': 'sentinel.event_type', 'ip': '127.0.0.1', 'agent': '', 'host': 'testserver', 'session': sentinel.session, 'event': '{}', 'event_source': 'browser', 'context': {'course_id': 'foo/bar/baz', 'session': sentinel.session, 'org_id': 'foo'}, 'time': datetime.datetime(2013, 10, 3, 8, 24, 55), 'page': 'http://www.edx.org/courses/foo/bar/baz/xmod/'}) | |
| Actual call: send({'username': 'anonymous', 'event_type': u'sentinel.event_type', 'ip': '127.0.0.1', 'agent': '', 'host': 'testserver', 'session': sentinel.session, 'event': u'{}', 'event_source': 'browser', 'context': {'course_id': '', 'session': sentinel.session, 'org_id': ''}, 'time': datetime.datetime(2013, 10, 3, 8, 24, 55), 'page': u'http://www.edx.org/courses/foo/bar/baz/xmod/'}) | |
| ----------------------------------------------------------------------------- | |
| 3) FAIL: test_course_id_from_url (track.tests.test_contexts.TestContexts) | |
| Traceback (most recent call last): | |
| common/djangoapps/track/tests/test_contexts.py line 14 in test_course_id_from_url | |
| self.assert_parses_course_id_from_url('http://foo.bar.com/courses/{course_id}/more/stuff') | |
| common/djangoapps/track/tests/test_contexts.py line 21 in assert_parses_course_id_from_url | |
| 'org_id': self.ORG_ID | |
| AssertionError: {'course_id': '', 'org_id': ''} != {'course_id': 'test/course_name/course_run', 'org_id': 'test'} | |
| - {'course_id': '', 'org_id': ''} | |
| + {'course_id': 'test/course_name/course_run', 'org_id': 'test'} | |
| ----------------------------------------------------------------------------- | |
| 4) FAIL: test_course_id_later_in_url (track.tests.test_contexts.TestContexts) | |
| Traceback (most recent call last): | |
| common/djangoapps/track/tests/test_contexts.py line 41 in test_course_id_later_in_url | |
| self.assert_parses_course_id_from_url('http://foo.bar.com/x/y/z/courses/{course_id}') | |
| common/djangoapps/track/tests/test_contexts.py line 21 in assert_parses_course_id_from_url | |
| 'org_id': self.ORG_ID | |
| AssertionError: {'course_id': '', 'org_id': ''} != {'course_id': 'test/course_name/course_run', 'org_id': 'test'} | |
| - {'course_id': '', 'org_id': ''} | |
| + {'course_id': 'test/course_name/course_run', 'org_id': 'test'} | |
| ----------------------------------------------------------------------------- | |
| 999 tests run in 130.6 seconds. | |
| 4 FAILED, 150 skipped (845 tests passed) | |
| Destroying test database for alias 'default'... | |
| Cleaning up after cms | |
| ---> pavelib.utils.test.utils.clean_mongo | |
| mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js | |
| MongoDB shell version: 2.4.7 | |
| connecting to: test | |
| Dropping test db test_xcontent_81362c41692345cf82d80fa74e8a267c | |
| Dropping test db test_xcontent_1f2db1d05bd44341ac77135abb3da93a | |
| Dropping test db test_xcontent_838d3d0f300543909134c4fa6c9ebc9c | |
| Dropping test db test_xcontent_4a897d20425b461993fc9133d321574e | |
| Dropping test db test_xmodule | |
| Setting up for lms | |
| ---> pavelib.assets.update_assets | |
| python manage.py lms --settings=test preprocess_assets | |
| xmodule_assets common/static/xmodule | |
| ---> pavelib.assets.compile_coffeescript | |
| node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"` | |
| sass --style compressed --sourcemap --cache-location /tmp/sass-cache --load-path ./common/static/sass --update -E utf-8 */static | |
| write lms/static/sass/application-extend1.css | |
| write lms/static/sass/application-extend1.css.map | |
| write lms/static/sass/application-extend2.css | |
| write lms/static/sass/application-extend2.css.map | |
| write lms/static/sass/application.css | |
| write lms/static/sass/application.css.map | |
| write lms/static/sass/course.css | |
| write lms/static/sass/course.css.map | |
| python manage.py lms --settings=test collectstatic --noinput > /dev/null | |
| python -m coverage run --rcfile=lms/.coveragerc `which ./manage.py` lms test --verbosity=1 lms/djangoapps/* common/djangoapps/* lms/lib/* lms/tests.py --traceback --settings=test | |
| ======================================== | |
| Running tests for lms | |
| ======================================== | |
| nosetests lms/djangoapps/analytics lms/djangoapps/api_manager lms/djangoapps/branding lms/djangoapps/bulk_email lms/djangoapps/certificates lms/djangoapps/circuit lms/djangoapps/class_dashboard lms/djangoapps/course_wiki lms/djangoapps/courseware lms/djangoapps/dashboard lms/djangoapps/debug lms/djangoapps/django_comment_client lms/djangoapps/foldit lms/djangoapps/instructor lms/djangoapps/instructor_task lms/djangoapps/licenses lms/djangoapps/linkedin lms/djangoapps/lms_migration lms/djangoapps/notes lms/djangoapps/notification_prefs lms/djangoapps/open_ended_grading lms/djangoapps/projects lms/djangoapps/psychometrics lms/djangoapps/shoppingcart lms/djangoapps/static_template_view lms/djangoapps/staticbook lms/djangoapps/verify_student common/djangoapps/cache_toolbox common/djangoapps/config_models common/djangoapps/contentserver common/djangoapps/cors_csrf common/djangoapps/coupons common/djangoapps/course_groups common/djangoapps/course_modes common/djangoapps/dark_lang common/djangoapps/datadog common/djangoapps/django_comment_common common/djangoapps/django_future common/djangoapps/edxmako common/djangoapps/embargo common/djangoapps/external_auth common/djangoapps/geoinfo common/djangoapps/heartbeat common/djangoapps/lang_pref common/djangoapps/microsite_configuration common/djangoapps/mitxmako common/djangoapps/monitoring common/djangoapps/pipeline_js common/djangoapps/pipeline_mako common/djangoapps/request_cache common/djangoapps/reverification common/djangoapps/service_status common/djangoapps/session_inactivity_timeout common/djangoapps/static_replace common/djangoapps/status common/djangoapps/student common/djangoapps/system_manager common/djangoapps/terrain common/djangoapps/third_party_auth common/djangoapps/track common/djangoapps/user_api common/djangoapps/util common/djangoapps/xmodule_django common/djangoapps/xmodule_modifiers.py common/djangoapps/xmodule_modifiers.pyc lms/lib/__init__.py lms/lib/__init__.pyc lms/lib/comment_client lms/lib/newrelic_logging lms/lib/perfstats lms/lib/xblock lms/tests.py --id-file /edx/app/edxapp/edx-platform/.testids/lms/noseids --xunit-file /edx/app/edxapp/edx-platform/reports/lms/nosetests.xml --verbosity=1 | |
| Creating test database for alias 'default'... | |
| ............................................................................. | |
| ..................................F.......................................... | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ....................................Error: Unable to switch to specified branch. Please check your branch name. | |
| XX../edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:808: RuntimeWarning: DateTimeField received a naive datetime (1983-04-06 00:00:00) while time zone support is active. | |
| RuntimeWarning) | |
| ../edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py:808: RuntimeWarning: DateTimeField received a naive datetime (2033-04-06 00:00:00) while time zone support is active. | |
| RuntimeWarning) | |
| ...F.XF.F.FF.X..F.................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| .....................................................................-....-.. | |
| ..-.-........................................................................ | |
| ............................................................................. | |
| ............................................................................. | |
| ...F..............F........FF.-.....FF..-.........F.FFF...--.....F.FFFF.F.--. | |
| .F..............................................................-............ | |
| ............................................................................F | |
| F............................................................................ | |
| . | |
| ----------------------------------------------------------------------------- | |
| 1) FAIL: test_social_metrics (api_manager.courses.tests.CoursesApiTests) | |
| Traceback (most recent call last): | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mock.py line 1201 in patched | |
| return func(*args, **keywargs) | |
| lms/djangoapps/api_manager/courses/tests.py line 1496 in test_social_metrics | |
| self.assertEqual(response.status_code, 200) | |
| AssertionError: 500 != 200 | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.CourseFactory(extra={'start': datetime.datetime(2014, 6, 16, 14, 30), 'end': datetime.datetime(2015, 1, 16, 0, 0)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.CourseFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.CourseFactory(end=datetime.datetime(2015, 1, 16, 0, 0), modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, number='999', start=datetime.datetime(2014, 6, 16, 14, 30), org='MITx', display_name='Robot Super Course') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.CourseFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.CourseFactory(end=datetime.datetime(2015, 1, 16, 0, 0), modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, number='999', start=datetime.datetime(2014, 6, 16, 14, 30), org='MITx', display_name='Robot Super Course') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.CourseFactory(end=datetime.datetime(2015, 1, 16, 0, 0), modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, number='999', start=datetime.datetime(2014, 6, 16, 14, 30), org='MITx', display_name='Robot Super Course') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'chapter', 'display_name': 'Overview', 'data': '<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>', 'parent_location': Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), 'due': datetime.datetime(2014, 5, 16, 14, 30)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Overview', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, due=datetime.datetime(2014, 5, 16, 14, 30), location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Overview', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, due=datetime.datetime(2014, 5, 16, 14, 30), location=Location('MITx', '999', 'Robot_Super_Course', 'chapter', 'Overview', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Overview', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, due=datetime.datetime(2014, 5, 16, 14, 30), location=Location('MITx', '999', 'Robot_Super_Course', 'chapter', 'Overview', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'chapter', 'display_name': 'Group Project', 'data': '<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>', 'parent_location': Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Group Project', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Group Project', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'chapter', 'Group_Project', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Group Project', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'chapter', 'Group_Project', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'chapter', 'display_name': 'Group Project2', 'data': '<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>', 'parent_location': Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Group Project2', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Group Project2', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'chapter', 'Group_Project2', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='chapter', display_name='Group Project2', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'chapter', 'Group_Project2', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'videosequence', 'display_name': 'Video_Sequence', 'data': '<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>', 'parent_location': Location(u'MITx', u'999', 'Robot_Super_Course', u'chapter', u'Overview', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='videosequence', display_name='Video_Sequence', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'chapter', u'Overview', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='videosequence', display_name='Video_Sequence', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'chapter', u'Overview', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'videosequence', 'Video_Sequence', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='videosequence', display_name='Video_Sequence', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'chapter', u'Overview', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'videosequence', 'Video_Sequence', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'video', 'display_name': 'Video_Resources', 'data': '<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>', 'parent_location': Location(u'MITx', u'999', 'Robot_Super_Course', u'videosequence', u'Video_Sequence', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='video', display_name='Video_Resources', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'videosequence', u'Video_Sequence', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='video', display_name='Video_Resources', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'videosequence', u'Video_Sequence', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'video', 'Video_Resources', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='video', display_name='Video_Resources', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'videosequence', u'Video_Sequence', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'video', 'Video_Resources', None), data='<html>f7771869-1099-4f00-ad61-4342a4186d8c</html>') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'about', 'display_name': 'overview', 'data': '\n<section class="about">\n <h2>About This Course</h2>\n <p>Include your long course description here. The long course description should contain 150-400 words.</p>\n\n <p>This is paragraph 2 of the long course description. Add more paragraphs as needed. Make sure to enclose them in paragraph tags.</p>\n</section>\n\n<section class="prerequisites">\n <h2>Prerequisites</h2>\n <p>Add information about course prerequisites here.</p>\n</section>\n\n<section class="course-staff">\n <h2>Course Staff</h2>\n <article class="teacher">\n <div class="teacher-image">\n <img src="/images/pl-faculty.png" align="left" style="margin:0 20 px 0" alt="Course Staff Image #1">\n </div>\n <h3>Staff Member #1</h3>\n <p>Biography of instructor/staff member #1</p>\n </article>\n\n <article class="teacher">\n <div class="teacher-image">\n <img src="/images/pl-faculty.png" align="left" style="margin:0 20 px 0" alt="Course Staff Image #2">\n </div>\n <h3>Staff Member #2</h3>\n <p>Biography of instructor/staff member #2</p>\n </article>\n\n <article class="author">\n <div class="author-image">\n <img src="/images/pl-author.png" align="left" style="margin:0 20 px 0" alt="Author Name">\n </div>\n <h3>Author Name</h3>\n <p>Biography of Author Name</p>\n </article>\n</section>\n\n<section class="faq">\n <p>Some text here</p>\n</section>\n\n<section class="intro-video" data-videoid="foobar">\n</section>\n', 'parent_location': Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='about', display_name='overview', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='\n<section class="about">\n <h2>About This Course</h2>\n <p>Include your long course description here. The long course description should contain 150-400 words.</p>\n\n <p>This is paragraph 2 of the long course description. Add more paragraphs as needed. Make sure to enclose them in paragraph tags.</p>\n</section>\n\n<section class="prerequisites">\n <h2>Prerequisites</h2>\n <p>Add information about course prerequisites here.</p>\n</section>\n\n<section class="course-staff">\n <h2>Course Staff</h2>\n <article class="teacher">\n <div class="teacher-image">\n <img src="/images/pl-faculty.png" align="left" style="margin:0 20 px 0" alt="Course Staff Image #1">\n </div>\n <h3>Staff Member #1</h3>\n <p>Biography of instructor/staff member #1</p>\n </article>\n\n <article class="teacher">\n <div class="teacher-image">\n <img src="/images/pl-faculty.png" align="left" style="margin:0 20 px 0" alt="Course Staff Image #2">\n </div>\n <h3>Staff Member #2</h3>\n <p>Biography of instructor/staff member #2</p>\n </article>\n\n <article class="author">\n <div class="author-image">\n <img src="/images/pl-author.png" align="left" style="margin:0 20 px 0" alt="Author Name">\n </div>\n <h3>Author Name</h3>\n <p>Biography of Author Name</p>\n </article>\n</section>\n\n<section class="faq">\n <p>Some text here</p>\n</section>\n\n<section class="intro-video" data-videoid="foobar">\n</section>\n') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='about', display_name='overview', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'about', 'overview', None), data='\n<section class="about">\n <h2>About This Course</h2>\n <p>Include your long course description here. The long course description should contain 150-400 words.</p>\n\n <p>This is paragraph 2 of the long course description. Add more paragraphs as needed. Make sure to enclose them in paragraph tags.</p>\n</section>\n\n<section class="prerequisites">\n <h2>Prerequisites</h2>\n <p>Add information about course prerequisites here.</p>\n</section>\n\n<section class="course-staff">\n <h2>Course Staff</h2>\n <article class="teacher">\n <div class="teacher-image">\n <img src="/images/pl-faculty.png" align="left" style="margin:0 20 px 0" alt="Course Staff Image #1">\n </div>\n <h3>Staff Member #1</h3>\n <p>Biography of instructor/staff member #1</p>\n </article>\n\n <article class="teacher">\n <div class="teacher-image">\n <img src="/images/pl-faculty.png" align="left" style="margin:0 20 px 0" alt="Course Staff Image #2">\n </div>\n <h3>Staff Member #2</h3>\n <p>Biography of instructor/staff member #2</p>\n </article>\n\n <article class="author">\n <div class="author-image">\n <img src="/images/pl-author.png" align="left" style="margin:0 20 px 0" alt="Author Name">\n </div>\n <h3>Author Name</h3>\n <p>Biography of Author Name</p>\n </article>\n</section>\n\n<section class="faq">\n <p>Some text here</p>\n</section>\n\n<section class="intro-video" data-videoid="foobar">\n</section>\n') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='about', display_name='overview', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'about', 'overview', None), data='\n<section class="about">\n <h2>About This Course</h2>\n <p>Include your long course description here. The long course description should contain 150-400 words.</p>\n\n <p>This is paragraph 2 of the long course description. Add more paragraphs as needed. Make sure to enclose them in paragraph tags.</p>\n</section>\n\n<section class="prerequisites">\n <h2>Prerequisites</h2>\n <p>Add information about course prerequisites here.</p>\n</section>\n\n<section class="course-staff">\n <h2>Course Staff</h2>\n <article class="teacher">\n <div class="teacher-image">\n <img src="/images/pl-faculty.png" align="left" style="margin:0 20 px 0" alt="Course Staff Image #1">\n </div>\n <h3>Staff Member #1</h3>\n <p>Biography of instructor/staff member #1</p>\n </article>\n\n <article class="teacher">\n <div class="teacher-image">\n <img src="/images/pl-faculty.png" align="left" style="margin:0 20 px 0" alt="Course Staff Image #2">\n </div>\n <h3>Staff Member #2</h3>\n <p>Biography of instructor/staff member #2</p>\n </article>\n\n <article class="author">\n <div class="author-image">\n <img src="/images/pl-author.png" align="left" style="margin:0 20 px 0" alt="Author Name">\n </div>\n <h3>Author Name</h3>\n <p>Biography of Author Name</p>\n </article>\n</section>\n\n<section class="faq">\n <p>Some text here</p>\n</section>\n\n<section class="intro-video" data-videoid="foobar">\n</section>\n') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'course_info', 'display_name': 'updates', 'data': '\n<section>\n <article>\n <h2>April 18, 2014</h2>\n This does not have a paragraph tag around it\n </article>\n <article>\n <h2>April 17, 2014</h2>\n Some text before paragraph tag<p>This is inside paragraph tag</p>Some text after tag\n </article>\n <article>\n <h2>April 16, 2014</h2>\n Some text before paragraph tag<p>This is inside paragraph tag</p>Some text after tag<p>one more</p>\n </article>\n <article>\n <h2>April 15, 2014</h2>\n <p>A perfectly</p><p>formatted piece</p><p>of HTML</p>\n </article>\n</section>\n', 'parent_location': Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='course_info', display_name='updates', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='\n<section>\n <article>\n <h2>April 18, 2014</h2>\n This does not have a paragraph tag around it\n </article>\n <article>\n <h2>April 17, 2014</h2>\n Some text before paragraph tag<p>This is inside paragraph tag</p>Some text after tag\n </article>\n <article>\n <h2>April 16, 2014</h2>\n Some text before paragraph tag<p>This is inside paragraph tag</p>Some text after tag<p>one more</p>\n </article>\n <article>\n <h2>April 15, 2014</h2>\n <p>A perfectly</p><p>formatted piece</p><p>of HTML</p>\n </article>\n</section>\n') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='course_info', display_name='updates', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'course_info', 'updates', None), data='\n<section>\n <article>\n <h2>April 18, 2014</h2>\n This does not have a paragraph tag around it\n </article>\n <article>\n <h2>April 17, 2014</h2>\n Some text before paragraph tag<p>This is inside paragraph tag</p>Some text after tag\n </article>\n <article>\n <h2>April 16, 2014</h2>\n Some text before paragraph tag<p>This is inside paragraph tag</p>Some text after tag<p>one more</p>\n </article>\n <article>\n <h2>April 15, 2014</h2>\n <p>A perfectly</p><p>formatted piece</p><p>of HTML</p>\n </article>\n</section>\n') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='course_info', display_name='updates', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'course_info', 'updates', None), data='\n<section>\n <article>\n <h2>April 18, 2014</h2>\n This does not have a paragraph tag around it\n </article>\n <article>\n <h2>April 17, 2014</h2>\n Some text before paragraph tag<p>This is inside paragraph tag</p>Some text after tag\n </article>\n <article>\n <h2>April 16, 2014</h2>\n Some text before paragraph tag<p>This is inside paragraph tag</p>Some text after tag<p>one more</p>\n </article>\n <article>\n <h2>April 15, 2014</h2>\n <p>A perfectly</p><p>formatted piece</p><p>of HTML</p>\n </article>\n</section>\n') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'static_tab', 'display_name': 'syllabus', 'data': '\n<div>This is static tab1</div>\n', 'parent_location': Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='static_tab', display_name='syllabus', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='\n<div>This is static tab1</div>\n') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='static_tab', display_name='syllabus', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'static_tab', 'syllabus', None), data='\n<div>This is static tab1</div>\n') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='static_tab', display_name='syllabus', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'static_tab', 'syllabus', None), data='\n<div>This is static tab1</div>\n') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'static_tab', 'display_name': 'readings', 'data': '\n<div>This is static tab2</div>\n', 'parent_location': Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='static_tab', display_name='readings', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='\n<div>This is static tab2</div>\n') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='static_tab', display_name='readings', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'static_tab', 'readings', None), data='\n<div>This is static tab2</div>\n') | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='static_tab', display_name='readings', parent_location=Location('MITx', '999', 'Robot_Super_Course', 'course', 'Robot_Super_Course', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location('MITx', '999', 'Robot_Super_Course', 'static_tab', 'readings', None), data='\n<div>This is static tab2</div>\n') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'sequential', 'display_name': u'test subsection', 'parent_location': Location(u'MITx', u'999', 'Robot_Super_Course', u'videosequence', u'Video_Sequence', None)}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='sequential', display_name=u'test subsection', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'videosequence', u'Video_Sequence', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>) | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='sequential', display_name=u'test subsection', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'videosequence', u'Video_Sequence', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'sequential', u'test_subsection', None)) | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='sequential', display_name=u'test subsection', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'videosequence', u'Video_Sequence', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'sequential', u'test_subsection', None)) | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'vertical', 'display_name': u'test unit', 'parent_location': Location(u'MITx', u'999', 'Robot_Super_Course', u'sequential', u'test_subsection', None), 'metadata': {'graded': True, 'format': 'Homework'}}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='vertical', display_name=u'test unit', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'sequential', u'test_subsection', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, metadata={'graded': True, 'format': 'Homework'}) | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='vertical', display_name=u'test unit', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'sequential', u'test_subsection', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'vertical', u'test_unit', None), metadata={'graded': True, 'format': 'Homework'}) | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='vertical', display_name=u'test unit', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'sequential', u'test_subsection', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'vertical', u'test_unit', None), metadata={'graded': True, 'format': 'Homework'}) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'testuser0', 'profile': 'test'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='testuser0', profile='test', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2060 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2060 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='testuser0', profile='test', first_name=u'Robot2060', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2060@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='testuser0', first_name=u'Robot2060', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2060@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(testuser0, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: testuser0>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(testuser0, True, test) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: testuser0>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: testuser0>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2060 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser0>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2060 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser0>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'testuser1', 'profile': 'test'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='testuser1', profile='test', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2061 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2061 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='testuser1', profile='test', first_name=u'Robot2061', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2061@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='testuser1', first_name=u'Robot2061', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2061@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(testuser1, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: testuser1>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(testuser1, True, test) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: testuser1>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: testuser1>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2061 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser1>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2061 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser1>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'testuser2', 'profile': 'test'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='testuser2', profile='test', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2062 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2062 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='testuser2', profile='test', first_name=u'Robot2062', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2062@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='testuser2', first_name=u'Robot2062', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2062@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(testuser2, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: testuser2>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(testuser2, True, test) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: testuser2>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: testuser2>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2062 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser2>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2062 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser2>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'testuser3', 'profile': 'test'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='testuser3', profile='test', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2063 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2063 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='testuser3', profile='test', first_name=u'Robot2063', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2063@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='testuser3', first_name=u'Robot2063', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2063@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(testuser3, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: testuser3>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(testuser3, True, test) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: testuser3>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: testuser3>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2063 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser3>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2063 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser3>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'testuser4', 'profile': 'test'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='testuser4', profile='test', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2064 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2064 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='testuser4', profile='test', first_name=u'Robot2064', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2064@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='testuser4', first_name=u'Robot2064', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2064@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(testuser4, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: testuser4>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(testuser4, True, test) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: testuser4>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: testuser4>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2064 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser4>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2064 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: testuser4>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.CourseEnrollmentFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'user': <User: testuser0>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser0>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser0>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser0>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.CourseEnrollmentFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'user': <User: testuser1>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser1>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser1>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser1>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.CourseEnrollmentFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'user': <User: testuser2>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser2>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser2>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser2>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.CourseEnrollmentFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'user': <User: testuser3>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser3>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser3>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser3>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.CourseEnrollmentFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'user': <User: testuser4>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser4>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser4>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.CourseEnrollmentFactory(course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), user=<User: testuser4>) | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'group-project', 'display_name': u'test problem0', 'data': '<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', 'parent_location': Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), 'metadata': {'rerandomize': 'always'}}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='group-project', display_name=u'test problem0', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='group-project', display_name=u'test problem0', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'group-project', u'test_problem0', None), data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='group-project', display_name=u'test problem0', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'group-project', u'test_problem0', None), data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), 'grade': 0.0, 'state': '{"attempts": 3}', 'max_grade': 0.5, 'module_type': 'group-project', 'student': <User: testuser0>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), 'grade': 0.75, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'group-project', 'student': <User: testuser1>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=0.75, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=0.75, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=0.75, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), 'grade': 1.5, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'group-project', 'student': <User: testuser2>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=1.5, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=1.5, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=1.5, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), 'grade': 2.25, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'group-project', 'student': <User: testuser3>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), 'grade': 3.0, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'group-project', 'student': <User: testuser4>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2065 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2065 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2065 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2065', first_name=u'Robot2065', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2065@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2065', first_name=u'Robot2065', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2065@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2065, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2065>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2065, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2065>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2065>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2065 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2065>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2065 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2065>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2065>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2065>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2066 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2066 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2066 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2066', first_name=u'Robot2066', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2066@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2066', first_name=u'Robot2066', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2066@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2066, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2066>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2066, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2066>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2066>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2066 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2066>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2066 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2066>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2066>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2066>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2067 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2067 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2067 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2067', first_name=u'Robot2067', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2067@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2067', first_name=u'Robot2067', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2067@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2067, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2067>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2067, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2067>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2067>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2067 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2067>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2067 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2067>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2067>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2067>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2068 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2068 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2068 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2068', first_name=u'Robot2068', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2068@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2068', first_name=u'Robot2068', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2068@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2068, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2068>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2068, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2068>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2068>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2068 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2068>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2068 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2068>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2068>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2068>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2069 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2069 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2069 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2069', first_name=u'Robot2069', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2069@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2069', first_name=u'Robot2069', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2069@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2069, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2069>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2069, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2069>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2069>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2069 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2069>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2069 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2069>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2069>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem0', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2069>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'mentoring', 'display_name': u'test problem1', 'data': '<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', 'parent_location': Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), 'metadata': {'rerandomize': 'always'}}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='mentoring', display_name=u'test problem1', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='mentoring', display_name=u'test problem1', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'mentoring', u'test_problem1', None), data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='mentoring', display_name=u'test problem1', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'mentoring', u'test_problem1', None), data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), 'grade': 0.0, 'state': '{"attempts": 3}', 'max_grade': 0.5, 'module_type': 'mentoring', 'student': <User: testuser0>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='mentoring', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='mentoring', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='mentoring', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), 'grade': 0.75, 'state': '{"attempts": 3}', 'max_grade': 0.5, 'module_type': 'mentoring', 'student': <User: testuser1>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=0.75, state='{"attempts": 3}', max_grade=0.5, module_type='mentoring', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=0.75, state='{"attempts": 3}', max_grade=0.5, module_type='mentoring', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=0.75, state='{"attempts": 3}', max_grade=0.5, module_type='mentoring', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), 'grade': 1.5, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'mentoring', 'student': <User: testuser2>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=1.5, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=1.5, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=1.5, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), 'grade': 2.25, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'mentoring', 'student': <User: testuser3>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), 'grade': 3.0, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'mentoring', 'student': <User: testuser4>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='mentoring', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2070 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2070 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2070 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2070', first_name=u'Robot2070', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2070@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2070', first_name=u'Robot2070', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2070@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2070, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2070>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2070, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2070>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2070>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2070 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2070>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2070 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2070>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2070>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2070>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2071 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2071 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2071 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2071', first_name=u'Robot2071', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2071@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2071', first_name=u'Robot2071', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2071@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2071, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2071>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2071, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2071>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2071>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2071 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2071>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2071 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2071>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2071>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2071>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2072 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2072 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2072 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2072', first_name=u'Robot2072', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2072@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2072', first_name=u'Robot2072', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2072@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2072, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2072>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2072, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2072>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2072>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2072 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2072>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2072 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2072>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2072>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2072>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2073 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2073 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2073 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2073', first_name=u'Robot2073', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2073@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2073', first_name=u'Robot2073', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2073@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2073, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2073>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2073, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2073>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2073>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2073 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2073>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2073 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2073>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2073>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2073>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2074 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2074 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2074 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2074', first_name=u'Robot2074', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2074@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2074', first_name=u'Robot2074', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2074@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2074, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2074>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2074, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2074>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2074>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2074 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2074>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2074 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2074>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2074>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'mentoring', u'test_problem1', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2074>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing xmodule.modulestore.tests.factories.ItemFactory(extra={'category': 'group-project', 'display_name': u'test problem2', 'data': '<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', 'parent_location': Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), 'metadata': {'rerandomize': 'always'}}) | |
| factory.generate: DEBUG: <class 'xmodule.modulestore.tests.factories.ItemFactory'>: reusing sequence from <class 'xmodule.modulestore.tests.factories.XModuleFactory'> | |
| factory.containers: DEBUG: LazyStub: Computing values for xmodule.modulestore.tests.factories.ItemFactory(category='group-project', display_name=u'test problem2', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56e10>>, location=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x4f56f10>>, data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function modulestore at 0x4f5bb90> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <function location at 0x4f5bcf8> on <LazyStub for xmodule.modulestore.tests.factories.ItemFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got xmodule.modulestore.tests.factories.ItemFactory(category='group-project', display_name=u'test problem2', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'group-project', u'test_problem2', None), data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: BaseFactory: Generating xmodule.modulestore.tests.factories.ItemFactory(category='group-project', display_name=u'test problem2', parent_location=Location(u'MITx', u'999', 'Robot_Super_Course', u'vertical', u'test_unit', None), parent=None, modulestore=<xmodule.modulestore.mongo.base.MongoModuleStore object at 0x80d7d50>, location=Location(u'MITx', u'999', 'Robot_Super_Course', 'group-project', u'test_problem2', None), data='<problem><p></p><stringresponse answer="foo"><textline/></stringresponse></problem>', metadata={'rerandomize': 'always'}) | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), 'grade': 0.0, 'state': '{"attempts": 3}', 'max_grade': 0.5, 'module_type': 'group-project', 'student': <User: testuser0>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=0.0, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser0>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), 'grade': 0.75, 'state': '{"attempts": 3}', 'max_grade': 0.5, 'module_type': 'group-project', 'student': <User: testuser1>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=0.75, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=0.75, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=0.75, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser1>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), 'grade': 1.5, 'state': '{"attempts": 3}', 'max_grade': 0.5, 'module_type': 'group-project', 'student': <User: testuser2>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=1.5, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=1.5, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=1.5, state='{"attempts": 3}', max_grade=0.5, module_type='group-project', student=<User: testuser2>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), 'grade': 2.25, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'group-project', 'student': <User: testuser3>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=2.25, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser3>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), 'grade': 3.0, 'state': '{"attempts": 3}', 'max_grade': 1, 'module_type': 'group-project', 'student': <User: testuser4>, 'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course')}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=3.0, state='{"attempts": 3}', max_grade=1, module_type='group-project', student=<User: testuser4>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2075 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2075 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2075 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2075', first_name=u'Robot2075', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2075@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2075', first_name=u'Robot2075', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2075@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2075, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2075>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2075, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2075>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2075>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2075 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2075>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2075 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2075>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2075>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2075>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2076 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2076 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2076 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2076', first_name=u'Robot2076', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2076@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2076', first_name=u'Robot2076', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2076@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2076, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2076>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2076, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2076>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2076>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2076 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2076>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2076 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2076>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2076>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2076>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2077 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2077 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2077 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2077', first_name=u'Robot2077', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2077@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2077', first_name=u'Robot2077', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2077@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2077, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2077>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2077, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2077>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2077>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2077 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2077>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2077 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2077>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2077>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2077>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2078 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2078 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2078 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2078', first_name=u'Robot2078', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2078@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2078', first_name=u'Robot2078', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2078@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2078, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2078>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2078, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2078>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2078>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2078 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2078>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2078 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2078>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2078>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2078>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Preparing courseware.tests.factories.StudentModuleFactory(extra={'course_id': SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), 'module_type': 'sequential', 'module_state_key': Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<OrderedDeclarationWrapper for <factory.declarations.SubFactory object at 0x509a910>>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: SubFactory: Instantiating student.tests.factories.UserFactory(__containers=(<LazyStub for courseware.tests.factories.StudentModuleFactory>,)), create=True | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'__containers': (<LazyStub for courseware.tests.factories.StudentModuleFactory>,)}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682750>>, date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=2079 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=2079 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918a0> for seq=2079 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot2079', first_name=u'Robot2079', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2079@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot2079', first_name=u'Robot2079', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email=u'robot+test+2079@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot2079, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot2079>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot2079, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: robot2079>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: robot2079>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot2079 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2079>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot2079 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot2079>) | |
| factory.containers: DEBUG: LazyStub: Computed values, got courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2079>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| factory.generate: DEBUG: BaseFactory: Generating courseware.tests.factories.StudentModuleFactory(module_state_key=Location(u'MITx', u'999', 'Robot_Super_Course', u'group-project', u'test_problem2', None), grade=None, state=None, max_grade=None, module_type='sequential', student=<User: robot2079>, course_id=SlashSeparatedCourseKey('MITx', '999', 'Robot_Super_Course'), done='na') | |
| tracking: INFO: {"username": "", "host": "testserver", "event_source": "server", "event_type": "/api/courses/slashes:MITx+999+Robot_Super_Course/metrics/social/", "context": {"username": "", "user_id": "", "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "", "course_id": "", "path": "/api/courses/slashes:MITx+999+Robot_Super_Course/metrics/social/"}, "time": "2014-08-05T14:30:22.282643+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {}, \"GET\": {}}", "agent": "", "page": null} | |
| stevedore.extension: DEBUG: found extension EntryPoint.parse('slashes = opaque_keys.edx.locations:SlashSeparatedCourseKey') | |
| stevedore.extension: DEBUG: found extension EntryPoint.parse('course-locator = opaque_keys.edx.locator:CourseLocator') | |
| requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost | |
| requests.packages.urllib3.connectionpool: DEBUG: "GET /api/v1/users/*/social_stats?course_id=MITx%2F999%2FRobot_Super_Course&request_id=4bb051a0-cd83-402a-bff9-c4e7d3deba68 HTTP/1.1" 401 0 | |
| lms.lib.comment_client.utils: INFO: comment_client_request_log: request_id=4bb051a0-cd83-402a-bff9-c4e7d3deba68, method=get, url=http://localhost:4567/api/v1/users/*/social_stats, duration=0.0792629718781 | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 2) ERROR: test_command_args (test_git_add_course.TestGitAddCourse) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/management/commands/tests/test_git_add_course.py line 89 in test_command_args | |
| self.TEST_BRANCH) | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/__init__.py line 150 in call_command | |
| return klass.execute(*args, **defaults) | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/management/base.py line 249 in execute | |
| sys.exit(1) | |
| SystemExit: 1 | |
| -------------------- >> begin captured stdout << --------------------- | |
| Importing. Data_dir=test_root/course_repos, course_dirs=(u'edx4edx_lite',) | |
| Seeding forum roles for course slashes:MITx+edx4edx+edx4edx | |
| --------------------- >> end captured stdout << ---------------------- | |
| -------------------- >> begin captured logging << -------------------- | |
| dashboard.git_import: DEBUG: rdir = edx4edx_lite | |
| dashboard.git_import: DEBUG: Command was: 'git clone https://github.com/mitocw/edx4edx_lite.git'. Working directory was: u'/edx/app/edxapp/edx-platform/test_root/course_repos' | |
| dashboard.git_import: DEBUG: Command output was: "Cloning into 'edx4edx_lite'...\n" | |
| dashboard.git_import: DEBUG: Command was: 'git log -1 --format=%H'. Working directory was: 'test_root/course_repos/edx4edx_lite' | |
| dashboard.git_import: DEBUG: Command output was: '02f41dc1ace02a4b413244a0da5f6d42d64db367\n' | |
| dashboard.git_import: DEBUG: Command was: 'git symbolic-ref --short HEAD'. Working directory was: 'test_root/course_repos/edx4edx_lite' | |
| dashboard.git_import: DEBUG: Command output was: 'master\n' | |
| xmodule.modulestore.xml: DEBUG: ========> Starting course import from edx4edx_lite | |
| xmodule.course_module: DEBUG: Loading grading policy from policies/edx4edx/grading_policy.json | |
| xmodule.modulestore.xml: DEBUG: ========> Done with course import from edx4edx_lite | |
| xmodule.modulestore.xml_importer: DEBUG: Scanning slashes:MITx+edx4edx+edx4edx for course module... | |
| xmodule.modulestore.xml_importer: DEBUG: ======> IMPORTING course slashes:MITx+edx4edx+edx4edx | |
| xmodule.modulestore.xml_importer: DEBUG: course data_dir=edx4edx_lite | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/course/edx4edx... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/cow.png... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/js/loupeAndLightbox/jquery.loupeAndLightbox.js... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/js/loupeAndLightbox/README... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/images/course_image.jpg... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/images/pedigree.png... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/images/genetics1.png... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/images/magnify.png... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/images/cow.png... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/images/magnifySmall.png... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/html/x_authlink_javascript.html... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/html/x_dynamic_plot.html... | |
| xmodule.modulestore.xml_importer: DEBUG: importing static content test_root/course_repos/edx4edx_lite/static/html/x_custom_javascript.html... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Problems_using_custom_Javascript_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Problems_using_custom_Javascript_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Option_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Option_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Randomized_Problems_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Randomized_Problems_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+video | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/video... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+Advanced_Problems_Code_Grading_sequential | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/Advanced_Problems_Code_Grading_sequential... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+chapter+Introduction_chapter | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/chapter/Introduction_chapter... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Short_Answer_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Short_Answer_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+html+A_complete_edX_course_in_LaTeX_html | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/html/A_complete_edX_course_in_LaTeX_html... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+String_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/String_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+vertical+edx4edx_Course_vertical | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/vertical/edx4edx_Course_vertical... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Symbolic_response_problem_in_LaTeX_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Symbolic_response_problem_in_LaTeX_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+edx4edx_Course_sequential | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/edx4edx_Course_sequential... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+instructors | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/instructors... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Schematic_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Schematic_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Symbolic_Math_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Symbolic_Math_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+syllabus | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/syllabus... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+Rich_Interface_Examples | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/Rich_Interface_Examples... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+requirements | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/requirements... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Custom_response_problem_in_LaTeX_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Custom_response_problem_in_LaTeX_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Problem_with_solution_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Problem_with_solution_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Option_response_problem_in_LaTeX_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Option_response_problem_in_LaTeX_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Problem_with_ShowHide_hint_in_LaTeX_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Problem_with_ShowHide_hint_in_LaTeX_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Problem_with_hint_in_LaTeX_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Problem_with_hint_in_LaTeX_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+textbook | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/textbook... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+Problem_creation_tools_sequential | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/Problem_creation_tools_sequential... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+faq | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/faq... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Custom_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Custom_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+number | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/number... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Dynamic_plot_with_scripts_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Dynamic_plot_with_scripts_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+Sample_problems_generated_from_LaTeX_sequential | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/Sample_problems_generated_from_LaTeX_sequential... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Image_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Image_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+short_description | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/short_description... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+html+Import_from_LaTeX_html | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/html/Import_from_LaTeX_html... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Example_E-text_page_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Example_E-text_page_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Numerical_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Numerical_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Adaptive_hints_example_Formula_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Adaptive_hints_example_Formula_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+html+Problem_creation_tools_overview_html | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/html/Problem_creation_tools_overview_html... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+overview | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/overview... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+about+more_info | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/about/more_info... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+python_hello_world | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/python_hello_world... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+example_loupe_and_lightbox | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/example_loupe_and_lightbox... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+Sample_Problems_sequential | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/Sample_Problems_sequential... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+chapter+Author_tools_chapter | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/chapter/Author_tools_chapter... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+Advanced_Problems_Hints_sequential | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/Advanced_Problems_Hints_sequential... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+html+edx4edx_Course_html | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/html/edx4edx_Course_html... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Custom_response_with_graph | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Custom_response_with_graph... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+chapter+Assessment_Problems_chapter | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/chapter/Assessment_Problems_chapter... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Example_inline_textinput_answer_box_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Example_inline_textinput_answer_box_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Formula_Response_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Formula_Response_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+problem+Multiple_Choice_problem | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/problem/Multiple_Choice_problem... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+Advanced_Problems_Custom_Response_and_Randomization_sequential | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/Advanced_Problems_Custom_Response_and_Randomization_sequential... | |
| xmodule.modulestore.xml_importer: DEBUG: importing module location location:MITx+edx4edx+edx4edx+sequential+Advanced_Problems_Scripts_and_Javascript_sequential | |
| root: DEBUG: processing import of module i4x://MITx/edx4edx/sequential/Advanced_Problems_Scripts_and_Javascript_sequential... | |
| stevedore.extension: DEBUG: found extension EntryPoint.parse('slashes = opaque_keys.edx.locations:SlashSeparatedCourseKey') | |
| stevedore.extension: DEBUG: found extension EntryPoint.parse('course-locator = opaque_keys.edx.locator:CourseLocator') | |
| dashboard.git_import: DEBUG: Studio course dir = test_root/course_repos/edx4edx | |
| dashboard.git_import: DEBUG: -> exists, but is not symlink | |
| dashboard.git_import: DEBUG: total 0 | |
| dashboard.git_import: DEBUG: -> creating symlink between test_root/course_repos/edx4edx_lite and test_root/course_repos/edx4edx | |
| dashboard.git_import: DEBUG: total 52 | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 about | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 chapter | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 code | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 course | |
| -rw-rw-r-- 1 vagrant vagrant 79 Aug 5 10:34 course.xml | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 html | |
| drwxrwxr-x 3 vagrant vagrant 4096 Aug 5 10:34 policies | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 problem | |
| -rw-rw-r-- 1 vagrant vagrant 530 Aug 5 10:34 README.md | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 sequential | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 src | |
| drwxrwxr-x 5 vagrant vagrant 4096 Aug 5 10:34 static | |
| drwxrwxr-x 2 vagrant vagrant 4096 Aug 5 10:34 vertical | |
| dashboard.git_import: DEBUG: saved CourseImportLog for slashes:MITx+edx4edx+edx4edx | |
| dashboard.git_import: DEBUG: rdir = edx4edx_lite | |
| dashboard.git_import: INFO: directory already exists, doing a git pull instead of git clone | |
| dashboard.git_import: DEBUG: Command was: 'git pull'. Working directory was: '/edx/app/edxapp/edx-platform/test_root/course_repos/edx4edx_lite' | |
| dashboard.git_import: DEBUG: Command output was: 'Current branch master is up to date.\n' | |
| dashboard.git_import: ERROR: Unable to fetch remote: "fatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 77, in switch_branch | |
| cmd_log(['git', 'fetch', ], rdir) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 60, in cmd_log | |
| output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'fetch']' returned non-zero exit status 128 | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 3) ERROR: test_detached_repo (test_git_add_course.TestGitAddCourse) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/management/commands/tests/test_git_add_course.py line 128 in test_detached_repo | |
| git_import.add_repo(self.TEST_REPO, repo_dir / 'edx4edx_lite', None) | |
| lms/djangoapps/dashboard/git_import.py line 170 in add_repo | |
| raise GitImportError(GitImportError.CANNOT_PULL) | |
| GitImportError: git clone or pull failed! | |
| -------------------- >> begin captured logging << -------------------- | |
| dashboard.git_import: DEBUG: rdir = edx4edx_lite | |
| dashboard.git_import: ERROR: Error running git pull: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 167, in add_repo | |
| ret_git = cmd_log(cmd, cwd=cwd) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 60, in cmd_log | |
| output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', 'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 4) FAIL: test_course_info (dashboard.tests.test_sysadmin.TestSysAdminMongoCourseImport) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/tests/test_sysadmin.py line 485 in test_course_info | |
| self.assertRegexpMatches(response.content, table_re) | |
| AssertionError: Regexp didn't match: '\n <tr>\\s+\n <td>edX\\sAuthor\\sCourse</td>\\s+ # expected test git course name\n <td>MITx/edx4edx/edx4edx</td>\\s+ # expected test git course_id\n <td>[a-fA-F\\d]{40}</td> # git sha1 hash\n ' not found in '<!DOCTYPE html>\n<!--[if IE 7]><html class="ie ie7 lte9 lte8 lte7" lang="en"><![endif]-->\n<!--[if IE 8]><html class="ie ie8 lte9 lte8" lang="en"><![endif]-->\n<!--[if IE 9]><html class="ie ie9 lte9" lang="en"><![endif]-->\n<!--[if gt IE 9]><!--><html lang="en"><!--<![endif]-->\n<head>\n <meta charset="UTF-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n\n\n\n\n\n\n\n\n\n\n\n\n \n <title>\n | edX\n </title>\n \n\n <script type="text/javascript">\n /* immediately break out of an iframe if coming from the marketing website */\n (function(window) {\n if (window.location !== window.top.location) {\n window.top.location = window.location;\n }\n })(this);\n </script>\n\n <script type="text/javascript" src="/jsi18n/"></script>\n\n <link rel="icon" type="image/x-icon" href="/static/images/favicon.c074c912999f.ico" />\n\n \n <link href="/static/css/lms-style-vendor.54beeb2704a7.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app.2277d932aeed.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app-extend1.4f45feefdd33.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app-extend2.7aa5d85aaf0b.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-discussion-app.bfa5709e0912.css" rel="stylesheet" type="text/css" />\n\n\n\n\n \n <script type="text/javascript" src="/static/js/lms-main_vendor.19ba8be8d18d.js" charset="utf-8"></script>\n\n\n\n \n \n <link href="/static/css/lms-style-course.24fcf5fa9a1b.css" rel="stylesheet" type="text/css" />\n\n\n\n <script type="text/javascript" src="/static/js/vendor/flot/jquery.flot.d3d45ff0c6a8.js"></script>\n <script type="text/javascript" src="/static/js/vendor/flot/jquery.flot.axislabels.20aab76f7d5d.js"></script>\n\n\n\n \n\n\n <!--[if lt IE 9]>\n <script src="/static/js/html5shiv.d5e37d8ee1a4.js"></script>\n <![endif]-->\n\n <meta name="path_prefix" content="">\n <meta name="google-site-verification" content="_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY" />\n\n \n\n <!-- dummy segment.io -->\n<script type="text/javascript">\n var analytics = {\n track: function() { return; },\n pageview: function() { return; }\n };\n</script>\n<!-- end dummy segment.io -->\n\n\n\n\n</head>\n\n<body class=" lang_en">\n <a class="nav-skip" href="#content">Skip to this view\'s content</a>\n\n \n\n<script type="text/x-mathjax-config">\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [\n ["\\\\(","\\\\)"],\n [\'[mathjaxinline]\',\'[/mathjaxinline]\']\n ],\n displayMath: [\n ["\\\\[","\\\\]"],\n [\'[mathjax]\',\'[/mathjax]\']\n ]\n }\n });\n</script>\n\n<!-- This must appear after all mathjax-config blocks, so it is after the imports from the other templates.\n It can\'t be run through static.url because MathJax uses crazy url introspection to do lazy loading of\n MathJax extension libraries -->\n<script type="text/javascript" src="https://edx-static.s3.amazonaws.com/mathjax-MathJax-727332c/MathJax.js?config=TeX-MML-AM_HTMLorMML-full"></script>\n\n \n<!--[if IE]>\n<div class="sr message-accessibility message" id="mathjax-accessibility-message" aria-hidden="true">\n\t<p class="copy">This page features MathJax technology to render mathematical formulae. To make math accessibile, we suggest using the MathPlayer plugin. Please visit the <a href="//www.dessci.com/en/products/mathplayer/download.htm">MathPlayer Download Page</a> to download the plugin for your browser.</p>\n</div>\n<div class="sr message-accessibility message" id="mathplayer-browser-message" aria-hidden="true">\n\t<p class="copy">\n\t Your browser does not support the MathPlayer plugin. To use MathPlayer, please use Internet Explorer 6 through 9.\n\t </p>\n</div>\n<![endif]-->\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n <header class="global " aria-label="Global Navigation">\n <nav>\n <h1 class="logo">\n <a href="/">\n \n <img src="/static/images/header-logo.png" alt="edX"/>\n \n </a>\n </h1>\n\n\n <ol class="left nav-global authenticated">\n \n <li class="nav-global-01">\n <a href="/courses">Find Courses</a>\n </li>\n \n </ol>\n <ol class="user">\n <li class="primary">\n <a href="/dashboard" class="user-link">\n <span class="avatar"></span>\n <span class="sr">Dashboard for: </span> test_user\n </a>\n </li>\n <li class="primary">\n <a href="#" class="dropdown" aria-haspopup="true" aria-expanded="false"><span class="sr">More options dropdown</span> ▾</a>\n <ul class="dropdown-menu" aria-label="More Options" role="menu">\n \n <li><a href="/faq">Help</a></li>\n \n <li><a href="/logout" role="menuitem">Log Out</a></li>\n </ul>\n </li>\n </ol>\n </nav>\n</header>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n <div class="content-wrapper" id="content">\n \n\n\n\n\n\n\n<style type="text/css">\na.active-section {\n\tcolor: #551A8B;\n}\n.sysadmin-dashboard-content h2 a {\n\tmargin-right: 1.2em;\n}\ntable.stat_table {\n\tfont-family: verdana,arial,sans-serif;\n\tfont-size:11px;\n\tcolor:#333333;\n\tborder-width: 1px;\n\tborder-color: #666666;\n\tborder-collapse: collapse;\n}\ntable.stat_table th {\n\tborder-width: 1px;\n\tpadding: 8px;\n\tborder-style: solid;\n\tborder-color: #666666;\n\tbackground-color: #dedede;\n}\ntable.stat_table td {\n\tborder-width: 1px;\n\tpadding: 8px;\n\tborder-style: solid;\n\tborder-color: #666666;\n\tbackground-color: #ffffff;\n}\n\na.selectedmode { background-color: yellow; }\n\ntextarea {\n height: 200px;\n}\n</style>\n\n<section class="container">\n<div class="sysadmin-dashboard-wrapper">\n\n <section class="sysadmin-dashboard-content" style="margin-left:10pt;margin-top:10pt;margin-right:10pt;margin-bottom:20pt">\n <h1>Sysadmin Dashboard</h1>\n\t<hr />\n <h2 class="instructor-nav">\n\t <a href="/sysadmin/" class="None">Users</a>\n <a href="/sysadmin/courses" class="active-section">Courses</a>\n <a href="/sysadmin/staffing" class="None">Staffing and Enrollment</a> \n <a href="/sysadmin/gitlogs">Git Logs</a>\n </h2>\n\t<hr />\n\n\n<h3>Administer Courses</h3><br/>\n\n<form name="action" method="POST">\n <input type="hidden" name="csrfmiddlewaretoken" value="yqXaBFpxziBbAKGPxQgFu7pVoYGwLm6W" />\n <ul class="list-input">\n\t<li class="field text">\n\t <label for="repo_location">\n\t\tRepo Location:\n\t </label>\n\t <input type="text" name="repo_location" style="width:60%" />\n\t</li>\n\t<li class="field text">\n\t <label for="repo_location">\n\t\tRepo Branch (optional):\n\t </label>\n\t <input type="text" name="repo_branch" style="width:60%" />\n\t</li>\n </ul>\n <div class="form-actions">\n\t<button type="submit" name="action" value="add_course">Load new course from github</button>\n </div>\n <hr />\n <ul class="list-input">\n\t<li class="field text">\n\t <label for="course_id">\n\t\tCourse ID or dir:\n\t </label>\n\t <input type="text" name="course_id" style="width:60%" />\n\t</li>\n </ul>\n <div class="form-actions">\n\t<button type="submit" name="action" value="del_course">Delete course from site</button>\n </div>\n</form>\n<hr style="width:40%" />\n\n <p><h4 style=\'color:red\'>git clone or pull failed!</h4><pre>rdir = edx4edx_lite\nError running git pull: "Cloning into 'edx4edx_lite'...\\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\\n"\nTraceback (most recent call last):\n File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 167, in add_repo\n ret_git = cmd_log(cmd, cwd=cwd)\n File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 60, in cmd_log\n output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT)\n File "/usr/lib/python2.7/subprocess.py", line 544, in check_output\n raise CalledProcessError(retcode, cmd, output=output)\nCalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128\n</pre></p>\n\n\n <br/>\n <br/>\n <p>\n <hr width="100%">\n <h2>Information about all courses</h2>\n <table class="stat_table">\n <tr>\n\t <th>Course Name</th>\n\t <th>Directory/ID</th>\n\t <th>Git Commit</th>\n\t <th>Last Change</th>\n\t <th>Last Editor</th>\n\t</tr>\n </table>\n </p>\n\n\n </section>\n <div style="text-align:right; float: right"><span id="djangopid">\'Django PID\': 29907</span>\n | <span id="edxver">Platform Version: </span></div>\n</div>\n</section>\n\n \n </div>\n\n \n\n\n\n\n<div class="wrapper wrapper-footer">\n <footer>\n <div class="colophon">\n <nav class="nav-colophon">\n <ol>\n <li class="nav-colophon-01">\n <a id="about" href="/about">\n About\n </a>\n </li>\n <li class="nav-colophon-02">\n <a id="jobs" href="/jobs">\n Jobs\n </a>\n </li>\n <li class="nav-colophon-03">\n <a id="press" href="/press">\n Press\n </a>\n </li>\n <li class="nav-colophon-04">\n <a id="faq" href="/faq">\n FAQ\n </a>\n </li>\n <li class="nav-colophon-05">\n <a id="contact" href="/contact">\n Contact\n </a>\n </li>\n </ol>\n </nav>\n\n <div class="colophon-about">\n <img src="/static/images/header-logo.93b5c5f36468.png" alt="edX Logo" />\n\n <p>EdX is a non-profit created by founding partners Harvard and MIT whose mission is to bring the best of higher education to students of all ages anywhere in the world, wherever there is Internet access. EdX\'s free online MOOCs are interactive and subjects include computer science, public health, and artificial intelligence.</p>\n </div>\n </div>\n\n <div class="references">\n <nav class="nav-social">\n <ul>\n <li class="nav-social-01">\n <a href="http://www.meetup.com/edX-Global-Community/" rel="external">\n <img src="/static/images/social/ico-social-meetup.78eb0b41cc3d.png" alt="edX on Meetup" />\n </a>\n </li>\n <li class="nav-social-02">\n <a href="http://www.facebook.com/EdxOnline" rel="external">\n <img src="/static/images/social/ico-social-facebook.6757cc212a18.png" alt="edX on Facebook" />\n </a>\n </li>\n <li class="nav-social-03">\n <a href="https://twitter.com/edXOnline" rel="external">\n <img src="/static/images/social/ico-social-twitter.59116eaa21b7.png" alt="edX on Twitter" />\n </a>\n </li>\n <li class="nav-social-04">\n <a href="https://plus.google.com/108235383044095082735/posts" rel="external">\n <img src="/static/images/social/ico-social-google.0fcff64a115e.png" alt="edX on Google+" />\n </a>\n </li>\n <li class="nav-social-05">\n <a href="http://youtube.com/user/edxonline" rel="external">\n <img src="/static/images/social/ico-social-youtube.909f05910c79.png" alt="edX on YouTube" />\n </a>\n </li>\n </ul>\n </nav>\n\n <p class="copyright">© 2014 edX, some rights reserved.</p>\n\n <nav class="nav-legal">\n <ul>\n <li class="nav-legal-01">\n <a href="/tos">Terms of Service and Honor Code</a>\n </li>\n <li class="nav-legal-02">\n <a href="/privacy">Privacy Policy</a>\n </li>\n </ul>\n </nav>\n </div>\n </footer>\n</div>\n\n\n <script>window.baseUrl = "/static/";</script>\n \n <script type="text/javascript" src="/static/js/lms-application.f19f36e68e1a.js" charset="utf-8"></script>\n\n\n \n <script type="text/javascript" src="/static/js/lms-modules.5a9284c3652f.js" charset="utf-8"></script>\n\n\n\n \n</body>\n</html>\n\n\n' | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'test_user', 'password': 'foo', 'email': 'test_user+sysadmin@edx.org'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='test_user', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=6276 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6276', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6276', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(test_user, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: test_user>.set_password(foo) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(test_user, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: test_user>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: test_user>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot6276 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot6276 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "eee30030395d19fc11932819db263740", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:33.687101+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "eee30030395d19fc11932819db263740", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:33.727735+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "eee30030395d19fc11932819db263740", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:33.733701+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: DEBUG: Adding course using git repo https://github.com/mitocw/edx4edx_lite.git | |
| dashboard.git_import: DEBUG: rdir = edx4edx_lite | |
| dashboard.git_import: ERROR: Error running git pull: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 167, in add_repo | |
| ret_git = cmd_log(cmd, cwd=cwd) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 60, in cmd_log | |
| output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 5) ERROR: test_gitlog_courseteam_access (dashboard.tests.test_sysadmin.TestSysAdminMongoCourseImport) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/tests/test_sysadmin.py line 545 in test_gitlog_courseteam_access | |
| CourseStaffRole(course.id).add_users(self.user) | |
| AttributeError: 'NoneType' object has no attribute 'id' | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'test_user', 'password': 'foo', 'email': 'test_user+sysadmin@edx.org'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='test_user', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=6278 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6278', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6278', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(test_user, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: test_user>.set_password(foo) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(test_user, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: test_user>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: test_user>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot6278 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot6278 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c81be72ac96403e046550ec51b8127e3", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:34.628862+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c81be72ac96403e046550ec51b8127e3", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:34.631851+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: DEBUG: Adding course using git repo https://github.com/mitocw/edx4edx_lite.git | |
| dashboard.git_import: DEBUG: rdir = edx4edx_lite | |
| dashboard.git_import: ERROR: Error running git pull: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 167, in add_repo | |
| ret_git = cmd_log(cmd, cwd=cwd) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 60, in cmd_log | |
| output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/gitlogs", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c81be72ac96403e046550ec51b8127e3", "course_id": "", "path": "/sysadmin/gitlogs"}, "time": "2014-08-05T14:34:35.406328+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/gitlogs/MITx/edx4edx/edx4edx", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c81be72ac96403e046550ec51b8127e3", "course_id": "", "path": "/sysadmin/gitlogs/MITx/edx4edx/edx4edx"}, "time": "2014-08-05T14:34:35.418385+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {}, \"GET\": {}}", "agent": "", "page": null} | |
| dashboard.sysadmin: INFO: Cannot find course slashes:MITx+edx4edx+edx4edx | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 6) FAIL: test_gitlogs (dashboard.tests.test_sysadmin.TestSysAdminMongoCourseImport) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/tests/test_sysadmin.py line 506 in test_gitlogs | |
| response.content) | |
| AssertionError: '======> IMPORTING course' not found in '<!DOCTYPE html>\n<!--[if IE 7]><html class="ie ie7 lte9 lte8 lte7" lang="en"><![endif]-->\n<!--[if IE 8]><html class="ie ie8 lte9 lte8" lang="en"><![endif]-->\n<!--[if IE 9]><html class="ie ie9 lte9" lang="en"><![endif]-->\n<!--[if gt IE 9]><!--><html lang="en"><!--<![endif]-->\n<head>\n <meta charset="UTF-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n\n\n\n\n\n\n\n\n\n\n\n\n \n <title>\n Page Not Found | edX\n </title>\n \n\n <script type="text/javascript">\n /* immediately break out of an iframe if coming from the marketing website */\n (function(window) {\n if (window.location !== window.top.location) {\n window.top.location = window.location;\n }\n })(this);\n </script>\n\n <script type="text/javascript" src="/jsi18n/"></script>\n\n <link rel="icon" type="image/x-icon" href="/static/images/favicon.c074c912999f.ico" />\n\n \n <link href="/static/css/lms-style-vendor.54beeb2704a7.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app.2277d932aeed.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app-extend1.4f45feefdd33.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app-extend2.7aa5d85aaf0b.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-discussion-app.bfa5709e0912.css" rel="stylesheet" type="text/css" />\n\n\n\n\n \n <script type="text/javascript" src="/static/js/lms-main_vendor.19ba8be8d18d.js" charset="utf-8"></script>\n\n\n\n \n\n\n \n\n\n <!--[if lt IE 9]>\n <script src="/static/js/html5shiv.d5e37d8ee1a4.js"></script>\n <![endif]-->\n\n <meta name="path_prefix" content="">\n <meta name="google-site-verification" content="_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY" />\n\n \n\n <!-- dummy segment.io -->\n<script type="text/javascript">\n var analytics = {\n track: function() { return; },\n pageview: function() { return; }\n };\n</script>\n<!-- end dummy segment.io -->\n\n\n\n\n</head>\n\n<body class=" lang_en">\n <a class="nav-skip" href="#content">Skip to this view\'s content</a>\n\n \n\n<script type="text/x-mathjax-config">\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [\n ["\\\\(","\\\\)"],\n [\'[mathjaxinline]\',\'[/mathjaxinline]\']\n ],\n displayMath: [\n ["\\\\[","\\\\]"],\n [\'[mathjax]\',\'[/mathjax]\']\n ]\n }\n });\n</script>\n\n<!-- This must appear after all mathjax-config blocks, so it is after the imports from the other templates.\n It can\'t be run through static.url because MathJax uses crazy url introspection to do lazy loading of\n MathJax extension libraries -->\n<script type="text/javascript" src="https://edx-static.s3.amazonaws.com/mathjax-MathJax-727332c/MathJax.js?config=TeX-MML-AM_HTMLorMML-full"></script>\n\n \n<!--[if IE]>\n<div class="sr message-accessibility message" id="mathjax-accessibility-message" aria-hidden="true">\n\t<p class="copy">This page features MathJax technology to render mathematical formulae. To make math accessibile, we suggest using the MathPlayer plugin. Please visit the <a href="//www.dessci.com/en/products/mathplayer/download.htm">MathPlayer Download Page</a> to download the plugin for your browser.</p>\n</div>\n<div class="sr message-accessibility message" id="mathplayer-browser-message" aria-hidden="true">\n\t<p class="copy">\n\t Your browser does not support the MathPlayer plugin. To use MathPlayer, please use Internet Explorer 6 through 9.\n\t </p>\n</div>\n<![endif]-->\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n <header class="global " aria-label="Global Navigation">\n <nav>\n <h1 class="logo">\n <a href="/">\n \n <img src="/static/images/header-logo.png" alt="edX"/>\n \n </a>\n </h1>\n\n\n <ol class="left nav-global authenticated">\n \n <li class="nav-global-01">\n <a href="/courses">Find Courses</a>\n </li>\n \n </ol>\n <ol class="user">\n <li class="primary">\n <a href="/dashboard" class="user-link">\n <span class="avatar"></span>\n <span class="sr">Dashboard for: </span> test_user\n </a>\n </li>\n <li class="primary">\n <a href="#" class="dropdown" aria-haspopup="true" aria-expanded="false"><span class="sr">More options dropdown</span> ▾</a>\n <ul class="dropdown-menu" aria-label="More Options" role="menu">\n \n <li><a href="/faq">Help</a></li>\n \n <li><a href="/logout" role="menuitem">Log Out</a></li>\n </ul>\n </li>\n </ol>\n </nav>\n</header>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n <div class="content-wrapper" id="content">\n \n\n\n\n\n<section class="outside-app">\n<h1>Page not found</h1>\n<p>The page that you were looking for was not found. Go back to the <a href="/">homepage</a> or let us know about any pages that may have been moved at <a href="mailto:technical@example.com">technical@example.com</a>.</p>\n</section>\n\n \n </div>\n\n \n\n\n\n\n<div class="wrapper wrapper-footer">\n <footer>\n <div class="colophon">\n <nav class="nav-colophon">\n <ol>\n <li class="nav-colophon-01">\n <a id="about" href="/about">\n About\n </a>\n </li>\n <li class="nav-colophon-02">\n <a id="jobs" href="/jobs">\n Jobs\n </a>\n </li>\n <li class="nav-colophon-03">\n <a id="press" href="/press">\n Press\n </a>\n </li>\n <li class="nav-colophon-04">\n <a id="faq" href="/faq">\n FAQ\n </a>\n </li>\n <li class="nav-colophon-05">\n <a id="contact" href="/contact">\n Contact\n </a>\n </li>\n </ol>\n </nav>\n\n <div class="colophon-about">\n <img src="/static/images/header-logo.93b5c5f36468.png" alt="edX Logo" />\n\n <p>EdX is a non-profit created by founding partners Harvard and MIT whose mission is to bring the best of higher education to students of all ages anywhere in the world, wherever there is Internet access. EdX\'s free online MOOCs are interactive and subjects include computer science, public health, and artificial intelligence.</p>\n </div>\n </div>\n\n <div class="references">\n <nav class="nav-social">\n <ul>\n <li class="nav-social-01">\n <a href="http://www.meetup.com/edX-Global-Community/" rel="external">\n <img src="/static/images/social/ico-social-meetup.78eb0b41cc3d.png" alt="edX on Meetup" />\n </a>\n </li>\n <li class="nav-social-02">\n <a href="http://www.facebook.com/EdxOnline" rel="external">\n <img src="/static/images/social/ico-social-facebook.6757cc212a18.png" alt="edX on Facebook" />\n </a>\n </li>\n <li class="nav-social-03">\n <a href="https://twitter.com/edXOnline" rel="external">\n <img src="/static/images/social/ico-social-twitter.59116eaa21b7.png" alt="edX on Twitter" />\n </a>\n </li>\n <li class="nav-social-04">\n <a href="https://plus.google.com/108235383044095082735/posts" rel="external">\n <img src="/static/images/social/ico-social-google.0fcff64a115e.png" alt="edX on Google+" />\n </a>\n </li>\n <li class="nav-social-05">\n <a href="http://youtube.com/user/edxonline" rel="external">\n <img src="/static/images/social/ico-social-youtube.909f05910c79.png" alt="edX on YouTube" />\n </a>\n </li>\n </ul>\n </nav>\n\n <p class="copyright">© 2014 edX, some rights reserved.</p>\n\n <nav class="nav-legal">\n <ul>\n <li class="nav-legal-01">\n <a href="/tos">Terms of Service and Honor Code</a>\n </li>\n <li class="nav-legal-02">\n <a href="/privacy">Privacy Policy</a>\n </li>\n </ul>\n </nav>\n </div>\n </footer>\n</div>\n\n\n <script>window.baseUrl = "/static/";</script>\n \n <script type="text/javascript" src="/static/js/lms-application.f19f36e68e1a.js" charset="utf-8"></script>\n\n\n \n <script type="text/javascript" src="/static/js/lms-modules.5a9284c3652f.js" charset="utf-8"></script>\n\n\n\n \n</body>\n</html>\n\n\n' | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'test_user', 'password': 'foo', 'email': 'test_user+sysadmin@edx.org'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='test_user', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=6279 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6279', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6279', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(test_user, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: test_user>.set_password(foo) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(test_user, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: test_user>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: test_user>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot6279 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot6279 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "feb319f2378a832f9004cd475080376d", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:35.461002+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "feb319f2378a832f9004cd475080376d", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:35.464143+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: DEBUG: Adding course using git repo https://github.com/mitocw/edx4edx_lite.git | |
| dashboard.git_import: DEBUG: rdir = edx4edx_lite | |
| dashboard.git_import: ERROR: Error running git pull: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 167, in add_repo | |
| ret_git = cmd_log(cmd, cwd=cwd) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 60, in cmd_log | |
| output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/gitlogs", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "feb319f2378a832f9004cd475080376d", "course_id": "", "path": "/sysadmin/gitlogs"}, "time": "2014-08-05T14:34:36.207717+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/gitlogs/MITx/edx4edx/edx4edx", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "feb319f2378a832f9004cd475080376d", "course_id": "", "path": "/sysadmin/gitlogs/MITx/edx4edx/edx4edx"}, "time": "2014-08-05T14:34:36.246178+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {}, \"GET\": {}}", "agent": "", "page": null} | |
| dashboard.sysadmin: INFO: Cannot find course slashes:MITx+edx4edx+edx4edx | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 7) FAIL: test_mongo_course_add_delete (dashboard.tests.test_sysadmin.TestSysAdminMongoCourseImport) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/tests/test_sysadmin.py line 456 in test_mongo_course_add_delete | |
| self.assertIsNotNone(course) | |
| AssertionError: unexpectedly None | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'test_user', 'password': 'foo', 'email': 'test_user+sysadmin@edx.org'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='test_user', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=6281 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6281', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6281', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(test_user, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: test_user>.set_password(foo) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(test_user, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: test_user>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: test_user>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot6281 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot6281 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "847403471cc452d3d13d1da204559713", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:36.330954+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "847403471cc452d3d13d1da204559713", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:36.334416+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: DEBUG: Adding course using git repo https://github.com/mitocw/edx4edx_lite.git | |
| dashboard.git_import: DEBUG: rdir = edx4edx_lite | |
| dashboard.git_import: ERROR: Error running git pull: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 167, in add_repo | |
| ret_git = cmd_log(cmd, cwd=cwd) | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/git_import.py", line 60, in cmd_log | |
| output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 8) FAIL: test_enrollment_page (dashboard.tests.test_sysadmin.TestSysadmin) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/tests/test_sysadmin.py line 394 in test_enrollment_page | |
| self.assertIn('edx4edx', response.content) | |
| AssertionError: 'edx4edx' not found in '<!DOCTYPE html>\n<!--[if IE 7]><html class="ie ie7 lte9 lte8 lte7" lang="en"><![endif]-->\n<!--[if IE 8]><html class="ie ie8 lte9 lte8" lang="en"><![endif]-->\n<!--[if IE 9]><html class="ie ie9 lte9" lang="en"><![endif]-->\n<!--[if gt IE 9]><!--><html lang="en"><!--<![endif]-->\n<head>\n <meta charset="UTF-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n\n\n\n\n\n\n\n\n\n\n\n\n \n <title>\n | edX\n </title>\n \n\n <script type="text/javascript">\n /* immediately break out of an iframe if coming from the marketing website */\n (function(window) {\n if (window.location !== window.top.location) {\n window.top.location = window.location;\n }\n })(this);\n </script>\n\n <script type="text/javascript" src="/jsi18n/"></script>\n\n <link rel="icon" type="image/x-icon" href="/static/images/favicon.c074c912999f.ico" />\n\n \n <link href="/static/css/lms-style-vendor.54beeb2704a7.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app.2277d932aeed.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app-extend1.4f45feefdd33.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app-extend2.7aa5d85aaf0b.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-discussion-app.bfa5709e0912.css" rel="stylesheet" type="text/css" />\n\n\n\n\n \n <script type="text/javascript" src="/static/js/lms-main_vendor.19ba8be8d18d.js" charset="utf-8"></script>\n\n\n\n \n \n <link href="/static/css/lms-style-course.24fcf5fa9a1b.css" rel="stylesheet" type="text/css" />\n\n\n\n <script type="text/javascript" src="/static/js/vendor/flot/jquery.flot.d3d45ff0c6a8.js"></script>\n <script type="text/javascript" src="/static/js/vendor/flot/jquery.flot.axislabels.20aab76f7d5d.js"></script>\n\n\n\n \n\n\n <!--[if lt IE 9]>\n <script src="/static/js/html5shiv.d5e37d8ee1a4.js"></script>\n <![endif]-->\n\n <meta name="path_prefix" content="">\n <meta name="google-site-verification" content="_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY" />\n\n \n\n <!-- dummy segment.io -->\n<script type="text/javascript">\n var analytics = {\n track: function() { return; },\n pageview: function() { return; }\n };\n</script>\n<!-- end dummy segment.io -->\n\n\n\n\n</head>\n\n<body class=" lang_en">\n <a class="nav-skip" href="#content">Skip to this view\'s content</a>\n\n \n\n<script type="text/x-mathjax-config">\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [\n ["\\\\(","\\\\)"],\n [\'[mathjaxinline]\',\'[/mathjaxinline]\']\n ],\n displayMath: [\n ["\\\\[","\\\\]"],\n [\'[mathjax]\',\'[/mathjax]\']\n ]\n }\n });\n</script>\n\n<!-- This must appear after all mathjax-config blocks, so it is after the imports from the other templates.\n It can\'t be run through static.url because MathJax uses crazy url introspection to do lazy loading of\n MathJax extension libraries -->\n<script type="text/javascript" src="https://edx-static.s3.amazonaws.com/mathjax-MathJax-727332c/MathJax.js?config=TeX-MML-AM_HTMLorMML-full"></script>\n\n \n<!--[if IE]>\n<div class="sr message-accessibility message" id="mathjax-accessibility-message" aria-hidden="true">\n\t<p class="copy">This page features MathJax technology to render mathematical formulae. To make math accessibile, we suggest using the MathPlayer plugin. Please visit the <a href="//www.dessci.com/en/products/mathplayer/download.htm">MathPlayer Download Page</a> to download the plugin for your browser.</p>\n</div>\n<div class="sr message-accessibility message" id="mathplayer-browser-message" aria-hidden="true">\n\t<p class="copy">\n\t Your browser does not support the MathPlayer plugin. To use MathPlayer, please use Internet Explorer 6 through 9.\n\t </p>\n</div>\n<![endif]-->\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n <header class="global " aria-label="Global Navigation">\n <nav>\n <h1 class="logo">\n <a href="/">\n \n <img src="/static/images/header-logo.png" alt="edX"/>\n \n </a>\n </h1>\n\n\n <ol class="left nav-global authenticated">\n \n <li class="nav-global-01">\n <a href="/courses">Find Courses</a>\n </li>\n \n </ol>\n <ol class="user">\n <li class="primary">\n <a href="/dashboard" class="user-link">\n <span class="avatar"></span>\n <span class="sr">Dashboard for: </span> test_user\n </a>\n </li>\n <li class="primary">\n <a href="#" class="dropdown" aria-haspopup="true" aria-expanded="false"><span class="sr">More options dropdown</span> ▾</a>\n <ul class="dropdown-menu" aria-label="More Options" role="menu">\n \n <li><a href="/faq">Help</a></li>\n \n <li><a href="/logout" role="menuitem">Log Out</a></li>\n </ul>\n </li>\n </ol>\n </nav>\n</header>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n <div class="content-wrapper" id="content">\n \n\n\n\n\n\n\n<style type="text/css">\na.active-section {\n\tcolor: #551A8B;\n}\n.sysadmin-dashboard-content h2 a {\n\tmargin-right: 1.2em;\n}\ntable.stat_table {\n\tfont-family: verdana,arial,sans-serif;\n\tfont-size:11px;\n\tcolor:#333333;\n\tborder-width: 1px;\n\tborder-color: #666666;\n\tborder-collapse: collapse;\n}\ntable.stat_table th {\n\tborder-width: 1px;\n\tpadding: 8px;\n\tborder-style: solid;\n\tborder-color: #666666;\n\tbackground-color: #dedede;\n}\ntable.stat_table td {\n\tborder-width: 1px;\n\tpadding: 8px;\n\tborder-style: solid;\n\tborder-color: #666666;\n\tbackground-color: #ffffff;\n}\n\na.selectedmode { background-color: yellow; }\n\ntextarea {\n height: 200px;\n}\n</style>\n\n<section class="container">\n<div class="sysadmin-dashboard-wrapper">\n\n <section class="sysadmin-dashboard-content" style="margin-left:10pt;margin-top:10pt;margin-right:10pt;margin-bottom:20pt">\n <h1>Sysadmin Dashboard</h1>\n\t<hr />\n <h2 class="instructor-nav">\n\t <a href="/sysadmin/" class="None">Users</a>\n <a href="/sysadmin/courses" class="None">Courses</a>\n <a href="/sysadmin/staffing" class="active-section">Staffing and Enrollment</a> \n <a href="/sysadmin/gitlogs">Git Logs</a>\n </h2>\n\t<hr />\n\n\n<p>Go to each individual course\'s Instructor dashboard to manage course enrollment.</p>\n<hr />\n\n<h3>Manage course staff and instructors</h3><br/>\n<form name="action" method="POST">\n <input type="hidden" name="csrfmiddlewaretoken" value="YA3Z8TQidvqG0y2IwZyEmJZgx0okQN16" />\n <button type="submit" name="action" value="get_staff_csv">Download staff and instructor list (csv file)</button>\n</form>\n\n\n\n\n\n <br/>\n <br/>\n <p>\n <hr width="100%">\n <h2>Enrollment information for all courses</h2>\n <table class="stat_table">\n <tr>\n\t <th>Course Name</th>\n\t <th>course_id</th>\n\t <th># enrolled</th>\n\t <th># staff</th>\n\t <th>instructors</th>\n\t</tr>\n <tr>\n\t <td>Two Toys Course</td>\n\t <td>slashes:edX+toy+TT_2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>slashes:edX+test_import+2014_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Graded Course</td>\n\t <td>slashes:edX+graded+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>A Simple Course</td>\n\t <td>slashes:edX+simple+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Conditional Course</td>\n\t <td>slashes:edX+cond_test+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Justice</td>\n\t <td>slashes:HarvardX+ER22x+2013_Spring</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>slashes:edX+tilde+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>slashes:edX+pure_xblock_public+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>slashes:edX+toy+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Test End</td>\n\t <td>slashes:edX+test_end+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>A Simple Course</td>\n\t <td>slashes:edX+simple_with_draft+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>detached_pages</td>\n\t <td>slashes:edX+detached_pages+2014</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>slashes:edX+course_info_updates+2014_T1</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Self Assessment Test</td>\n\t <td>slashes:edX+open_ended+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Self Assessment Test</td>\n\t <td>slashes:edX+open_ended_nopath+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>slashes:split_test+split_test+split_test_course</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Self Assessment Test</td>\n\t <td>slashes:edX+sa_test+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>slashes:edX+test_start_date+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>slashes:edX+pure_xblock+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>\xc3\x9c\xc3\xb1\xc3\xae\xc3\xa7\xc3\xb8\xe2\x88\x82e \xe2\x80\xa0es\xe2\x80\xa0 Course</td>\n\t <td>slashes:edX+test_unicode+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>\xce\xa6\xcf\x85\xcf\x83\xce\xb9\xce\xba\xce\xac \xcf\x84\xce\xbf \xcf\x8c\xce\xbd\xce\xbf\xce\xbc\xce\xb1 Unicode</td>\n\t <td>slashes:\xd0\xae\xd0\xbd\xd0\xb8\xd0\xba\xd0\xbe\xd0\xb4\xd0\xb0+\xc3\xa9chantillon+2014_Uni</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Test Course</td>\n\t <td>slashes:edX+pure_xblock_draft+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>slashes:edX+embedded_python+2013_Spring</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>slashes:edX+test_start_date+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Test About Blob End Date</td>\n\t <td>slashes:edX+test_about_blob_end_date+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>GST Test</td>\n\t <td>slashes:edX+gst_test+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>reorder privates</td>\n\t <td>slashes:test_org+import_draft_order+import_draft_order</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Justice</td>\n\t <td>slashes:HarvardX+ER22x+2013_Spring</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>slashes:edX+test_import_course+2012_Fall</td>\n\t <td>0</td>\n\t <td>0</td>\n\t <td></td>\n\t </tr>\n </table>\n </p>\n\n\n </section>\n <div style="text-align:right; float: right"><span id="djangopid">\'Django PID\': 29907</span>\n | <span id="edxver">Platform Version: </span></div>\n</div>\n</section>\n\n \n </div>\n\n \n\n\n\n\n<div class="wrapper wrapper-footer">\n <footer>\n <div class="colophon">\n <nav class="nav-colophon">\n <ol>\n <li class="nav-colophon-01">\n <a id="about" href="/about">\n About\n </a>\n </li>\n <li class="nav-colophon-02">\n <a id="jobs" href="/jobs">\n Jobs\n </a>\n </li>\n <li class="nav-colophon-03">\n <a id="press" href="/press">\n Press\n </a>\n </li>\n <li class="nav-colophon-04">\n <a id="faq" href="/faq">\n FAQ\n </a>\n </li>\n <li class="nav-colophon-05">\n <a id="contact" href="/contact">\n Contact\n </a>\n </li>\n </ol>\n </nav>\n\n <div class="colophon-about">\n <img src="/static/images/header-logo.93b5c5f36468.png" alt="edX Logo" />\n\n <p>EdX is a non-profit created by founding partners Harvard and MIT whose mission is to bring the best of higher education to students of all ages anywhere in the world, wherever there is Internet access. EdX\'s free online MOOCs are interactive and subjects include computer science, public health, and artificial intelligence.</p>\n </div>\n </div>\n\n <div class="references">\n <nav class="nav-social">\n <ul>\n <li class="nav-social-01">\n <a href="http://www.meetup.com/edX-Global-Community/" rel="external">\n <img src="/static/images/social/ico-social-meetup.78eb0b41cc3d.png" alt="edX on Meetup" />\n </a>\n </li>\n <li class="nav-social-02">\n <a href="http://www.facebook.com/EdxOnline" rel="external">\n <img src="/static/images/social/ico-social-facebook.6757cc212a18.png" alt="edX on Facebook" />\n </a>\n </li>\n <li class="nav-social-03">\n <a href="https://twitter.com/edXOnline" rel="external">\n <img src="/static/images/social/ico-social-twitter.59116eaa21b7.png" alt="edX on Twitter" />\n </a>\n </li>\n <li class="nav-social-04">\n <a href="https://plus.google.com/108235383044095082735/posts" rel="external">\n <img src="/static/images/social/ico-social-google.0fcff64a115e.png" alt="edX on Google+" />\n </a>\n </li>\n <li class="nav-social-05">\n <a href="http://youtube.com/user/edxonline" rel="external">\n <img src="/static/images/social/ico-social-youtube.909f05910c79.png" alt="edX on YouTube" />\n </a>\n </li>\n </ul>\n </nav>\n\n <p class="copyright">© 2014 edX, some rights reserved.</p>\n\n <nav class="nav-legal">\n <ul>\n <li class="nav-legal-01">\n <a href="/tos">Terms of Service and Honor Code</a>\n </li>\n <li class="nav-legal-02">\n <a href="/privacy">Privacy Policy</a>\n </li>\n </ul>\n </nav>\n </div>\n </footer>\n</div>\n\n\n <script>window.baseUrl = "/static/";</script>\n \n <script type="text/javascript" src="/static/js/lms-application.f19f36e68e1a.js" charset="utf-8"></script>\n\n\n \n <script type="text/javascript" src="/static/js/lms-modules.5a9284c3652f.js" charset="utf-8"></script>\n\n\n\n \n</body>\n</html>\n\n\n' | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'test_user', 'password': 'foo', 'email': 'test_user+sysadmin@edx.org'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='test_user', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=6283 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6283', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6283', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(test_user, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: test_user>.set_password(foo) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(test_user, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: test_user>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: test_user>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot6283 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot6283 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "e1624d061555268793a81be817e488c0", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:37.727559+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "e1624d061555268793a81be817e488c0", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:37.733287+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: ERROR: Git pull or clone output was: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/sysadmin.py", line 459, in import_xml_course | |
| subprocess.check_output(cmd, stderr=subprocess.STDOUT, cwd=cwd) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/staffing", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "e1624d061555268793a81be817e488c0", "course_id": "", "path": "/sysadmin/staffing"}, "time": "2014-08-05T14:34:38.635567+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {}, \"GET\": {}}", "agent": "", "page": null} | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 9) FAIL: test_git_pull (dashboard.tests.test_sysadmin.TestSysadmin) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/tests/test_sysadmin.py line 361 in test_git_pull | |
| response.content.decode('utf-8')) | |
| AssertionError: u'The course edx4edx_lite already exists in the data directory! (reloading anyway)' not found in u'<!DOCTYPE html>\n<!--[if IE 7]><html class="ie ie7 lte9 lte8 lte7" lang="en"><![endif]-->\n<!--[if IE 8]><html class="ie ie8 lte9 lte8" lang="en"><![endif]-->\n<!--[if IE 9]><html class="ie ie9 lte9" lang="en"><![endif]-->\n<!--[if gt IE 9]><!--><html lang="en"><!--<![endif]-->\n<head>\n <meta charset="UTF-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n\n\n\n\n\n\n\n\n\n\n\n\n \n <title>\n | edX\n </title>\n \n\n <script type="text/javascript">\n /* immediately break out of an iframe if coming from the marketing website */\n (function(window) {\n if (window.location !== window.top.location) {\n window.top.location = window.location;\n }\n })(this);\n </script>\n\n <script type="text/javascript" src="/jsi18n/"></script>\n\n <link rel="icon" type="image/x-icon" href="/static/images/favicon.c074c912999f.ico" />\n\n \n <link href="/static/css/lms-style-vendor.54beeb2704a7.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app.2277d932aeed.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app-extend1.4f45feefdd33.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-app-extend2.7aa5d85aaf0b.css" rel="stylesheet" type="text/css" />\n\n\n\n \n <link href="/static/css/lms-style-discussion-app.bfa5709e0912.css" rel="stylesheet" type="text/css" />\n\n\n\n\n \n <script type="text/javascript" src="/static/js/lms-main_vendor.19ba8be8d18d.js" charset="utf-8"></script>\n\n\n\n \n \n <link href="/static/css/lms-style-course.24fcf5fa9a1b.css" rel="stylesheet" type="text/css" />\n\n\n\n <script type="text/javascript" src="/static/js/vendor/flot/jquery.flot.d3d45ff0c6a8.js"></script>\n <script type="text/javascript" src="/static/js/vendor/flot/jquery.flot.axislabels.20aab76f7d5d.js"></script>\n\n\n\n \n\n\n <!--[if lt IE 9]>\n <script src="/static/js/html5shiv.d5e37d8ee1a4.js"></script>\n <![endif]-->\n\n <meta name="path_prefix" content="">\n <meta name="google-site-verification" content="_mipQ4AtZQDNmbtOkwehQDOgCxUUV2fb_C0b6wbiRHY" />\n\n \n\n <!-- dummy segment.io -->\n<script type="text/javascript">\n var analytics = {\n track: function() { return; },\n pageview: function() { return; }\n };\n</script>\n<!-- end dummy segment.io -->\n\n\n\n\n</head>\n\n<body class=" lang_en">\n <a class="nav-skip" href="#content">Skip to this view\'s content</a>\n\n \n\n<script type="text/x-mathjax-config">\n MathJax.Hub.Config({\n tex2jax: {\n inlineMath: [\n ["\\\\(","\\\\)"],\n [\'[mathjaxinline]\',\'[/mathjaxinline]\']\n ],\n displayMath: [\n ["\\\\[","\\\\]"],\n [\'[mathjax]\',\'[/mathjax]\']\n ]\n }\n });\n</script>\n\n<!-- This must appear after all mathjax-config blocks, so it is after the imports from the other templates.\n It can\'t be run through static.url because MathJax uses crazy url introspection to do lazy loading of\n MathJax extension libraries -->\n<script type="text/javascript" src="https://edx-static.s3.amazonaws.com/mathjax-MathJax-727332c/MathJax.js?config=TeX-MML-AM_HTMLorMML-full"></script>\n\n \n<!--[if IE]>\n<div class="sr message-accessibility message" id="mathjax-accessibility-message" aria-hidden="true">\n\t<p class="copy">This page features MathJax technology to render mathematical formulae. To make math accessibile, we suggest using the MathPlayer plugin. Please visit the <a href="//www.dessci.com/en/products/mathplayer/download.htm">MathPlayer Download Page</a> to download the plugin for your browser.</p>\n</div>\n<div class="sr message-accessibility message" id="mathplayer-browser-message" aria-hidden="true">\n\t<p class="copy">\n\t Your browser does not support the MathPlayer plugin. To use MathPlayer, please use Internet Explorer 6 through 9.\n\t </p>\n</div>\n<![endif]-->\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n <header class="global " aria-label="Global Navigation">\n <nav>\n <h1 class="logo">\n <a href="/">\n \n <img src="/static/images/header-logo.png" alt="edX"/>\n \n </a>\n </h1>\n\n\n <ol class="left nav-global authenticated">\n \n <li class="nav-global-01">\n <a href="/courses">Find Courses</a>\n </li>\n \n </ol>\n <ol class="user">\n <li class="primary">\n <a href="/dashboard" class="user-link">\n <span class="avatar"></span>\n <span class="sr">Dashboard for: </span> test_user\n </a>\n </li>\n <li class="primary">\n <a href="#" class="dropdown" aria-haspopup="true" aria-expanded="false"><span class="sr">More options dropdown</span> ▾</a>\n <ul class="dropdown-menu" aria-label="More Options" role="menu">\n \n <li><a href="/faq">Help</a></li>\n \n <li><a href="/logout" role="menuitem">Log Out</a></li>\n </ul>\n </li>\n </ol>\n </nav>\n</header>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n <div class="content-wrapper" id="content">\n \n\n\n\n\n\n\n<style type="text/css">\na.active-section {\n\tcolor: #551A8B;\n}\n.sysadmin-dashboard-content h2 a {\n\tmargin-right: 1.2em;\n}\ntable.stat_table {\n\tfont-family: verdana,arial,sans-serif;\n\tfont-size:11px;\n\tcolor:#333333;\n\tborder-width: 1px;\n\tborder-color: #666666;\n\tborder-collapse: collapse;\n}\ntable.stat_table th {\n\tborder-width: 1px;\n\tpadding: 8px;\n\tborder-style: solid;\n\tborder-color: #666666;\n\tbackground-color: #dedede;\n}\ntable.stat_table td {\n\tborder-width: 1px;\n\tpadding: 8px;\n\tborder-style: solid;\n\tborder-color: #666666;\n\tbackground-color: #ffffff;\n}\n\na.selectedmode { background-color: yellow; }\n\ntextarea {\n height: 200px;\n}\n</style>\n\n<section class="container">\n<div class="sysadmin-dashboard-wrapper">\n\n <section class="sysadmin-dashboard-content" style="margin-left:10pt;margin-top:10pt;margin-right:10pt;margin-bottom:20pt">\n <h1>Sysadmin Dashboard</h1>\n\t<hr />\n <h2 class="instructor-nav">\n\t <a href="/sysadmin/" class="None">Users</a>\n <a href="/sysadmin/courses" class="active-section">Courses</a>\n <a href="/sysadmin/staffing" class="None">Staffing and Enrollment</a> \n <a href="/sysadmin/gitlogs">Git Logs</a>\n </h2>\n\t<hr />\n\n\n<h3>Administer Courses</h3><br/>\n\n<form name="action" method="POST">\n <input type="hidden" name="csrfmiddlewaretoken" value="QiRkRykycZ5VRHGnUw4En2moouL3wLE9" />\n <ul class="list-input">\n\t<li class="field text">\n\t <label for="repo_location">\n\t\tRepo Location:\n\t </label>\n\t <input type="text" name="repo_location" style="width:60%" />\n\t</li>\n\t<li class="field text">\n\t <label for="repo_location">\n\t\tRepo Branch (optional):\n\t </label>\n\t <input type="text" name="repo_branch" style="width:60%" />\n\t</li>\n </ul>\n <div class="form-actions">\n\t<button type="submit" name="action" value="add_course">Load new course from github</button>\n </div>\n <hr />\n <ul class="list-input">\n\t<li class="field text">\n\t <label for="course_id">\n\t\tCourse ID or dir:\n\t </label>\n\t <input type="text" name="course_id" style="width:60%" />\n\t</li>\n </ul>\n <div class="form-actions">\n\t<button type="submit" name="action" value="del_course">Delete course from site</button>\n </div>\n</form>\n<hr style="width:40%" />\n\n <p>Unable to clone or pull repository. Please check your url. Output was: "Cloning into \'edx4edx_lite\'...\\nfatal: unable to access \'https://github.com/mitocw/edx4edx_lite.git/\': Couldn\'t resolve host \'github.com\'\\n"</p>\n\n\n <br/>\n <br/>\n <p>\n <hr width="100%">\n <h2>Information about all courses</h2>\n <table class="stat_table">\n <tr>\n\t <th>Course Name</th>\n\t <th>Directory/ID</th>\n\t <th>Git Commit</th>\n\t <th>Last Change</th>\n\t <th>Last Editor</th>\n\t</tr>\n <tr>\n\t <td>Two Toys Course</td>\n\t <td>edX/toy/TT_2012_Fall</td>\n\t <td>c3d8dd8b90c95f220655f8818f156c7fcb82b972</td>\n\t <td>Mon Aug 4 15:35:57 2014 +0200</td>\n\t <td>Xavier Antoviaque xavier@antoviaque.org</td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>edX/test_import/2014_Fall</td>\n\t <td>c3d8dd8b90c95f220655f8818f156c7fcb82b972</td>\n\t <td>Mon Aug 4 15:35:57 2014 +0200</td>\n\t <td>Xavier Antoviaque xavier@antoviaque.org</td>\n\t </tr>\n <tr>\n\t <td>Graded Course</td>\n\t <td>edX/graded/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>A Simple Course</td>\n\t <td>edX/simple/2012_Fall</td>\n\t <td>c3d8dd8b90c95f220655f8818f156c7fcb82b972</td>\n\t <td>Mon Aug 4 15:35:57 2014 +0200</td>\n\t <td>Xavier Antoviaque xavier@antoviaque.org</td>\n\t </tr>\n <tr>\n\t <td>Conditional Course</td>\n\t <td>edX/cond_test/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Justice</td>\n\t <td>HarvardX/ER22x/2013_Spring</td>\n\t <td>c3d8dd8b90c95f220655f8818f156c7fcb82b972</td>\n\t <td>Mon Aug 4 15:35:57 2014 +0200</td>\n\t <td>Xavier Antoviaque xavier@antoviaque.org</td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>edX/tilde/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>edX/pure_xblock_public/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>edX/toy/2012_Fall</td>\n\t <td>c3d8dd8b90c95f220655f8818f156c7fcb82b972</td>\n\t <td>Mon Aug 4 15:35:57 2014 +0200</td>\n\t <td>Xavier Antoviaque xavier@antoviaque.org</td>\n\t </tr>\n <tr>\n\t <td>Test End</td>\n\t <td>edX/test_end/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>A Simple Course</td>\n\t <td>edX/simple_with_draft/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>detached_pages</td>\n\t <td>edX/detached_pages/2014</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>edX/course_info_updates/2014_T1</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Self Assessment Test</td>\n\t <td>edX/open_ended/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Self Assessment Test</td>\n\t <td>edX/open_ended_nopath/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>split_test/split_test/split_test_course</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Self Assessment Test</td>\n\t <td>edX/sa_test/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>edX/test_start_date/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>edX/pure_xblock/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>\xdc\xf1\xee\xe7\xf8\u2202e \u2020es\u2020 Course</td>\n\t <td>edX/test_unicode/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>\u03a6\u03c5\u03c3\u03b9\u03ba\u03ac \u03c4\u03bf \u03cc\u03bd\u03bf\u03bc\u03b1 Unicode</td>\n\t <td>\u042e\u043d\u0438\u043a\u043e\u0434\u0430/\xe9chantillon/2014_Uni</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Test Course</td>\n\t <td>edX/pure_xblock_draft/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Empty</td>\n\t <td>edX/embedded_python/2013_Spring</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>edX/test_start_date/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Test About Blob End Date</td>\n\t <td>edX/test_about_blob_end_date/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>GST Test</td>\n\t <td>edX/gst_test/2012_Fall</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>reorder privates</td>\n\t <td>test_org/import_draft_order/import_draft_order</td>\n\t <td></td>\n\t <td></td>\n\t <td></td>\n\t </tr>\n <tr>\n\t <td>Justice</td>\n\t <td>HarvardX/ER22x/2013_Spring</td>\n\t <td>c3d8dd8b90c95f220655f8818f156c7fcb82b972</td>\n\t <td>Mon Aug 4 15:35:57 2014 +0200</td>\n\t <td>Xavier Antoviaque xavier@antoviaque.org</td>\n\t </tr>\n <tr>\n\t <td>Toy Course</td>\n\t <td>edX/test_import_course/2012_Fall</td>\n\t <td>c3d8dd8b90c95f220655f8818f156c7fcb82b972</td>\n\t <td>Mon Aug 4 15:35:57 2014 +0200</td>\n\t <td>Xavier Antoviaque xavier@antoviaque.org</td>\n\t </tr>\n </table>\n </p>\n\n\n </section>\n <div style="text-align:right; float: right"><span id="djangopid">\'Django PID\': 29907</span>\n | <span id="edxver">Platform Version: </span></div>\n</div>\n</section>\n\n \n </div>\n\n \n\n\n\n\n<div class="wrapper wrapper-footer">\n <footer>\n <div class="colophon">\n <nav class="nav-colophon">\n <ol>\n <li class="nav-colophon-01">\n <a id="about" href="/about">\n About\n </a>\n </li>\n <li class="nav-colophon-02">\n <a id="jobs" href="/jobs">\n Jobs\n </a>\n </li>\n <li class="nav-colophon-03">\n <a id="press" href="/press">\n Press\n </a>\n </li>\n <li class="nav-colophon-04">\n <a id="faq" href="/faq">\n FAQ\n </a>\n </li>\n <li class="nav-colophon-05">\n <a id="contact" href="/contact">\n Contact\n </a>\n </li>\n </ol>\n </nav>\n\n <div class="colophon-about">\n <img src="/static/images/header-logo.93b5c5f36468.png" alt="edX Logo" />\n\n <p>EdX is a non-profit created by founding partners Harvard and MIT whose mission is to bring the best of higher education to students of all ages anywhere in the world, wherever there is Internet access. EdX\'s free online MOOCs are interactive and subjects include computer science, public health, and artificial intelligence.</p>\n </div>\n </div>\n\n <div class="references">\n <nav class="nav-social">\n <ul>\n <li class="nav-social-01">\n <a href="http://www.meetup.com/edX-Global-Community/" rel="external">\n <img src="/static/images/social/ico-social-meetup.78eb0b41cc3d.png" alt="edX on Meetup" />\n </a>\n </li>\n <li class="nav-social-02">\n <a href="http://www.facebook.com/EdxOnline" rel="external">\n <img src="/static/images/social/ico-social-facebook.6757cc212a18.png" alt="edX on Facebook" />\n </a>\n </li>\n <li class="nav-social-03">\n <a href="https://twitter.com/edXOnline" rel="external">\n <img src="/static/images/social/ico-social-twitter.59116eaa21b7.png" alt="edX on Twitter" />\n </a>\n </li>\n <li class="nav-social-04">\n <a href="https://plus.google.com/108235383044095082735/posts" rel="external">\n <img src="/static/images/social/ico-social-google.0fcff64a115e.png" alt="edX on Google+" />\n </a>\n </li>\n <li class="nav-social-05">\n <a href="http://youtube.com/user/edxonline" rel="external">\n <img src="/static/images/social/ico-social-youtube.909f05910c79.png" alt="edX on YouTube" />\n </a>\n </li>\n </ul>\n </nav>\n\n <p class="copyright">© 2014 edX, some rights reserved.</p>\n\n <nav class="nav-legal">\n <ul>\n <li class="nav-legal-01">\n <a href="/tos">Terms of Service and Honor Code</a>\n </li>\n <li class="nav-legal-02">\n <a href="/privacy">Privacy Policy</a>\n </li>\n </ul>\n </nav>\n </div>\n </footer>\n</div>\n\n\n <script>window.baseUrl = "/static/";</script>\n \n <script type="text/javascript" src="/static/js/lms-application.f19f36e68e1a.js" charset="utf-8"></script>\n\n\n \n <script type="text/javascript" src="/static/js/lms-modules.5a9284c3652f.js" charset="utf-8"></script>\n\n\n\n \n</body>\n</html>\n\n\n' | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'test_user', 'password': 'foo', 'email': 'test_user+sysadmin@edx.org'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='test_user', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=6284 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6284', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6284', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(test_user, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: test_user>.set_password(foo) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(test_user, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: test_user>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: test_user>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot6284 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot6284 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "e473a48521cef18f04231209e3f95eb6", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:38.741744+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "e473a48521cef18f04231209e3f95eb6", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:38.744356+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: ERROR: Git pull or clone output was: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/sysadmin.py", line 459, in import_xml_course | |
| subprocess.check_output(cmd, stderr=subprocess.STDOUT, cwd=cwd) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "e473a48521cef18f04231209e3f95eb6", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:39.746252+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "e473a48521cef18f04231209e3f95eb6", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:39.749654+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: ERROR: Git pull or clone output was: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/sysadmin.py", line 459, in import_xml_course | |
| subprocess.check_output(cmd, stderr=subprocess.STDOUT, cwd=cwd) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 10) ERROR: test_staff_csv (dashboard.tests.test_sysadmin.TestSysadmin) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/tests/test_sysadmin.py line 372 in test_staff_csv | |
| CourseStaffRole(course.id).add_users(self.user) | |
| AttributeError: 'NoneType' object has no attribute 'id' | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'test_user', 'password': 'foo', 'email': 'test_user+sysadmin@edx.org'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='test_user', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=6286 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6286', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6286', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(test_user, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: test_user>.set_password(foo) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(test_user, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: test_user>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: test_user>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot6286 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot6286 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "39b96ac2e91026f96af782c7ffcd928e", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:40.953607+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "39b96ac2e91026f96af782c7ffcd928e", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:40.957336+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: ERROR: Git pull or clone output was: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/sysadmin.py", line 459, in import_xml_course | |
| subprocess.check_output(cmd, stderr=subprocess.STDOUT, cwd=cwd) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 11) FAIL: test_xml_course_add_delete (dashboard.tests.test_sysadmin.TestSysadmin) | |
| Traceback (most recent call last): | |
| lms/djangoapps/dashboard/tests/test_sysadmin.py line 311 in test_xml_course_add_delete | |
| self.assertIsNotNone(course) | |
| AssertionError: unexpectedly None | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'username': 'test_user', 'password': 'foo', 'email': 'test_user+sysadmin@edx.org'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username='test_user', first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=6289 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6289', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), password='foo', email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username='test_user', first_name=u'Robot6289', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test_user+sysadmin@edx.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(test_user, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: test_user>.set_password(foo) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(test_user, True, None) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'user': <User: test_user>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name=<OrderedDeclarationWrapper for <factory.declarations.LazyAttribute object at 0x3682690>>, mailing_address=None, level_of_education=None, user=<User: test_user>, gender=u'm', goals=u'World domination') | |
| factory.generate: DEBUG: LazyAttribute: Evaluating <built-in method format of unicode object at 0x33f8690> on <LazyStub for student.tests.factories.UserProfileFactory> | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name=u'Robot6289 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name=u'Robot6289 Test', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: test_user>) | |
| audit: INFO: Login success - test_user (test_user+sysadmin@edx.org) | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c88065b5fe4a9e9bc5a69b6726fabe0e", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:41.781256+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"github.com/mitocw/edx4edx_lite\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c88065b5fe4a9e9bc5a69b6726fabe0e", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:41.784687+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c88065b5fe4a9e9bc5a69b6726fabe0e", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:42.003291+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"http://example.com/not_real.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c88065b5fe4a9e9bc5a69b6726fabe0e", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:42.008092+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: ERROR: Git pull or clone output was: "Cloning into 'not_real'...\nfatal: unable to access 'http://example.com/not_real.git/': Couldn't resolve host 'example.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/sysadmin.py", line 459, in import_xml_course | |
| subprocess.check_output(cmd, stderr=subprocess.STDOUT, cwd=cwd) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'http://example.com/not_real.git']' returned non-zero exit status 128 | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "/sysadmin/courses", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c88065b5fe4a9e9bc5a69b6726fabe0e", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:42.508336+00:00", "ip": "127.0.0.1", "event": "{\"POST\": {\"action\": [\"add_course\"], \"repo_location\": [\"https://github.com/mitocw/edx4edx_lite.git\"]}, \"GET\": {}}", "agent": "", "page": null} | |
| tracking: INFO: {"username": "test_user", "host": "testserver", "event_source": "server", "event_type": "add_course", "context": {"username": "test_user", "user_id": 1, "ip": "127.0.0.1", "org_id": "", "agent": "", "host": "testserver", "session": "c88065b5fe4a9e9bc5a69b6726fabe0e", "course_id": "", "path": "/sysadmin/courses"}, "time": "2014-08-05T14:34:42.514126+00:00", "ip": "127.0.0.1", "event": {}, "agent": "", "page": "courses_sysdashboard"} | |
| dashboard.sysadmin: ERROR: Git pull or clone output was: "Cloning into 'edx4edx_lite'...\nfatal: unable to access 'https://github.com/mitocw/edx4edx_lite.git/': Couldn't resolve host 'github.com'\n" | |
| Traceback (most recent call last): | |
| File "/edx/app/edxapp/edx-platform/lms/djangoapps/dashboard/sysadmin.py", line 459, in import_xml_course | |
| subprocess.check_output(cmd, stderr=subprocess.STDOUT, cwd=cwd) | |
| File "/usr/lib/python2.7/subprocess.py", line 544, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| CalledProcessError: Command '['git', 'clone', u'https://github.com/mitocw/edx4edx_lite.git']' returned non-zero exit status 128 | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 12) FAIL: test_request_in_course_context (track.tests.test_middleware.TrackMiddlewareTestCase) | |
| Traceback (most recent call last): | |
| common/djangoapps/track/tests/test_middleware.py line 95 in test_request_in_course_context | |
| self.assert_dict_subset(captured_context, expected_context_subset) | |
| common/djangoapps/track/tests/test_middleware.py line 100 in assert_dict_subset | |
| self.assertEquals(superset[key], expected_value) | |
| AssertionError: '' != 'test_org/test_course/test_run' | |
| ----------------------------------------------------------------------------- | |
| 13) FAIL: test_user_track (track.tests.test_views.TestTrackViews) | |
| Traceback (most recent call last): | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/freezegun/api.py line 210 in wrapper | |
| result = func(*args, **kwargs) | |
| common/djangoapps/track/tests/test_views.py line 59 in test_user_track | |
| self.mock_tracker.send.assert_called_once_with(expected_event) | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mock.py line 846 in assert_called_once_with | |
| return self.assert_called_with(*args, **kwargs) | |
| /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mock.py line 835 in assert_called_with | |
| raise AssertionError(msg) | |
| AssertionError: Expected call: send({'username': 'anonymous', 'event_type': 'sentinel.event_type', 'ip': '127.0.0.1', 'agent': '', 'host': 'testserver', 'session': sentinel.session, 'event': '{}', 'event_source': 'browser', 'context': {'course_id': 'foo/bar/baz', 'session': sentinel.session, 'org_id': 'foo'}, 'time': datetime.datetime(2013, 10, 3, 8, 24, 55), 'page': 'http://www.edx.org/courses/foo/bar/baz/xmod/'}) | |
| Actual call: send({'username': 'anonymous', 'event_type': u'sentinel.event_type', 'ip': '127.0.0.1', 'agent': '', 'host': 'testserver', 'session': sentinel.session, 'event': u'{}', 'event_source': 'browser', 'context': {'course_id': '', 'session': sentinel.session, 'org_id': ''}, 'time': datetime.datetime(2013, 10, 3, 8, 24, 55), 'page': u'http://www.edx.org/courses/foo/bar/baz/xmod/'}) | |
| ----------------------------------------------------------------------------- | |
| 14) FAIL: test_get_basic (user_api.tests.test_views.PreferenceUsersListViewTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 512 in test_get_basic | |
| self.assertUserIsValid(user) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot7872', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot7872', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot7872'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7872 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7872 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7872', first_name=u'Robot7872', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7872', first_name=u'Robot7872', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7872, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7872>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7872, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot7872>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot7872>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7872>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7872>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7873 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7873 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7873', first_name=u'Robot7873', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7873', first_name=u'Robot7873', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7873, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7873>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7873, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot7873>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot7873>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7873>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7873>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7874 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7874 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7874', first_name=u'Robot7874', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7874', first_name=u'Robot7874', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7874, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7874>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7874, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot7874>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot7874>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7874>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7874>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7875 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7875 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7875', first_name=u'Robot7875', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7875', first_name=u'Robot7875', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7875, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7875>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7875, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot7875>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot7875>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7875>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7875>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7876 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7876 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7876', first_name=u'Robot7876', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7876', first_name=u'Robot7876', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7876, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7876>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7876, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot7876>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot7876>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7876>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7876>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7872>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7872>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7872>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7872>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7872>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7872>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7872>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7872>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7873>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7873>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7873>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7873>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 15) FAIL: test_get_pagination (user_api.tests.test_views.PreferenceUsersListViewTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 532 in test_get_pagination | |
| self.assertUserIsValid(user) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot7877', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot7877', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot7877'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7877 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7877 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7877', first_name=u'Robot7877', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7877', first_name=u'Robot7877', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7877, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7877>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7877, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot7877>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot7877>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7877>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7877>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7878 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7878 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7878', first_name=u'Robot7878', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7878', first_name=u'Robot7878', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7878, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7878>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7878, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot7878>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot7878>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7878>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7878>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7879 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7879 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7879', first_name=u'Robot7879', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7879', first_name=u'Robot7879', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7879, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7879>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7879, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot7879>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot7879>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7879>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7879>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7880 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7880 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7880', first_name=u'Robot7880', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7880', first_name=u'Robot7880', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7880, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7880>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7880, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot7880>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot7880>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7880>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7880>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7881 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7881 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7881', first_name=u'Robot7881', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7881', first_name=u'Robot7881', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7881, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7881>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7881, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot7881>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot7881>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7881>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7881>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7877>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7877>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7877>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7877>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7877>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7877>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7877>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7877>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7878>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7878>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7878>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7878>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 16) FAIL: test_get_list_nonempty (user_api.tests.test_views.RoleTestCase) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 195 in test_get_list_nonempty | |
| self.assertUserIsValid(user) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot7917', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot7917', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot7917'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7917 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7917 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7917', first_name=u'Robot7917', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7917', first_name=u'Robot7917', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7917, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7917>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7917, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot7917>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot7917>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7917>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7917>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7918 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7918 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7918', first_name=u'Robot7918', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7918', first_name=u'Robot7918', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7918, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7918>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7918, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot7918>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot7918>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7918>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7918>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7919 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7919 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7919', first_name=u'Robot7919', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7919', first_name=u'Robot7919', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7919, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7919>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7919, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot7919>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot7919>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7919>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7919>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7920 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7920 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7920', first_name=u'Robot7920', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7920', first_name=u'Robot7920', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7920, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7920>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7920, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot7920>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot7920>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7920>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7920>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7921 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7921 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7921', first_name=u'Robot7921', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7921', first_name=u'Robot7921', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7921, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7921>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7921, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot7921>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot7921>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7921>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7921>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7917>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7917>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7917>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7917>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7917>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7917>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7917>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7917>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7918>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7918>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7918>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7918>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 17) FAIL: test_get_list_pagination (user_api.tests.test_views.RoleTestCase) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 222 in test_get_list_pagination | |
| self.assertUserIsValid(user) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot7922', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot7922', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot7922'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7922 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7922 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7922', first_name=u'Robot7922', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7922', first_name=u'Robot7922', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7922, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7922>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7922, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot7922>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot7922>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7922>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7922>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7923 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7923 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7923', first_name=u'Robot7923', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7923', first_name=u'Robot7923', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7923, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7923>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7923, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot7923>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot7923>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7923>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7923>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7924 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7924 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7924', first_name=u'Robot7924', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7924', first_name=u'Robot7924', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7924, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7924>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7924, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot7924>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot7924>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7924>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7924>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7925 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7925 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7925', first_name=u'Robot7925', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7925', first_name=u'Robot7925', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7925, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7925>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7925, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot7925>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot7925>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7925>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7925>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7926 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7926 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7926', first_name=u'Robot7926', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7926', first_name=u'Robot7926', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7926, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7926>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7926, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot7926>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot7926>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7926>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7926>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7922>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7922>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7922>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7922>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7922>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7922>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7922>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7922>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7923>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7923>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7923>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7923>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 18) FAIL: test_get_list_filter_key_nonempty (user_api.tests.test_views.UserPreferenceViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 391 in test_get_list_filter_key_nonempty | |
| self.assertPrefIsValid(pref) | |
| common/djangoapps/user_api/tests/test_views.py line 82 in assertPrefIsValid | |
| self.assertUserIsValid(pref["user"]) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot7987', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot7987', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot7987'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7987 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7987 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7987', first_name=u'Robot7987', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7987', first_name=u'Robot7987', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7987, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7987>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7987, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot7987>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot7987>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7987>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7987>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7988 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7988 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7988', first_name=u'Robot7988', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7988', first_name=u'Robot7988', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7988, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7988>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7988, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot7988>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot7988>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7988>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7988>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7989 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7989 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7989', first_name=u'Robot7989', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7989', first_name=u'Robot7989', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7989, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7989>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7989, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot7989>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot7989>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7989>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7989>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7990 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7990 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7990', first_name=u'Robot7990', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7990', first_name=u'Robot7990', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7990, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7990>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7990, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot7990>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot7990>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7990>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7990>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7991 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7991 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7991', first_name=u'Robot7991', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7991', first_name=u'Robot7991', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7991, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7991>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7991, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot7991>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot7991>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7991>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7991>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7987>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7987>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7987>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7987>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7987>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7987>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7987>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7987>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7988>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7988>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7988>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7988>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 19) FAIL: test_get_list_filter_user_nonempty (user_api.tests.test_views.UserPreferenceViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 411 in test_get_list_filter_user_nonempty | |
| self.assertPrefIsValid(pref) | |
| common/djangoapps/user_api/tests/test_views.py line 82 in assertPrefIsValid | |
| self.assertUserIsValid(pref["user"]) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot7997', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot7997', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot7997'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7997 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7997 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7997', first_name=u'Robot7997', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7997', first_name=u'Robot7997', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7997, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7997>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7997, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot7997>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot7997>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7997>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7997>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7998 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7998 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7998', first_name=u'Robot7998', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7998', first_name=u'Robot7998', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7998, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7998>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7998, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot7998>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot7998>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7998>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7998>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=7999 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=7999 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot7999', first_name=u'Robot7999', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot7999', first_name=u'Robot7999', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot7999, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot7999>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot7999, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot7999>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot7999>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7999>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot7999>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8000 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8000 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8000', first_name=u'Robot8000', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8000', first_name=u'Robot8000', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8000, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8000>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8000, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8000>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8000>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8000>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8000>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8001 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8001 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8001', first_name=u'Robot8001', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8001', first_name=u'Robot8001', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8001, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8001>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8001, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8001>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8001>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8001>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8001>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7997>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7997>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7997>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7997>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7997>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7997>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7997>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot7997>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot7998>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot7998>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7998>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot7998>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 20) FAIL: test_get_list_nonempty (user_api.tests.test_views.UserPreferenceViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 378 in test_get_list_nonempty | |
| self.assertPrefIsValid(pref) | |
| common/djangoapps/user_api/tests/test_views.py line 82 in assertPrefIsValid | |
| self.assertUserIsValid(pref["user"]) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot8002', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot8002', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot8002'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8002 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8002 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8002', first_name=u'Robot8002', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8002', first_name=u'Robot8002', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8002, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8002>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8002, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8002>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8002>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8002>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8002>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8003 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8003 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8003', first_name=u'Robot8003', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8003', first_name=u'Robot8003', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8003, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8003>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8003, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8003>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8003>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8003>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8003>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8004 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8004 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8004', first_name=u'Robot8004', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8004', first_name=u'Robot8004', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8004, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8004>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8004, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8004>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8004>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8004>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8004>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8005 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8005 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8005', first_name=u'Robot8005', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8005', first_name=u'Robot8005', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8005, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8005>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8005, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8005>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8005>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8005>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8005>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8006 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8006 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8006', first_name=u'Robot8006', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8006', first_name=u'Robot8006', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8006, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8006>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8006, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8006>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8006>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8006>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8006>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8002>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8002>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8002>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8002>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8002>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8002>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8002>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8002>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8003>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8003>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8003>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8003>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 21) FAIL: test_get_list_pagination (user_api.tests.test_views.UserPreferenceViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 432 in test_get_list_pagination | |
| self.assertPrefIsValid(pref) | |
| common/djangoapps/user_api/tests/test_views.py line 82 in assertPrefIsValid | |
| self.assertUserIsValid(pref["user"]) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot8007', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot8007', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot8007'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8007 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8007 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8007', first_name=u'Robot8007', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8007', first_name=u'Robot8007', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8007, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8007>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8007, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8007>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8007>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8007>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8007>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8008 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8008 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8008', first_name=u'Robot8008', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8008', first_name=u'Robot8008', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8008, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8008>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8008, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8008>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8008>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8008>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8008>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8009 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8009 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8009', first_name=u'Robot8009', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8009', first_name=u'Robot8009', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8009, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8009>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8009, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8009>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8009>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8009>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8009>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8010 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8010 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8010', first_name=u'Robot8010', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8010', first_name=u'Robot8010', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8010, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8010>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8010, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8010>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8010>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8010>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8010>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8011 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8011 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8011', first_name=u'Robot8011', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8011', first_name=u'Robot8011', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8011, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8011>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8011, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8011>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8011>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8011>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8011>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8007>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8007>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8007>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8007>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8007>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8007>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8007>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8007>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8008>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8008>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8008>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8008>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 22) FAIL: test_delete_detail_not_allowed (user_api.tests.test_views.UserViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 316 in test_delete_detail_not_allowed | |
| self.assertHttpMethodNotAllowed(self.request_with_auth("delete", self.detail_uri)) | |
| common/djangoapps/user_api/tests/test_views.py line 98 in assertHttpMethodNotAllowed | |
| self.assertEqual(response.status_code, 405) | |
| AssertionError: 204 != 405 | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8062 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8062 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8062', first_name=u'Robot8062', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8062', first_name=u'Robot8062', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8062, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8062>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8062, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8062>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8062>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8062>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8062>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8063 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8063 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8063', first_name=u'Robot8063', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8063', first_name=u'Robot8063', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8063, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8063>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8063, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8063>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8063>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8063>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8063>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8064 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8064 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8064', first_name=u'Robot8064', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8064', first_name=u'Robot8064', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8064, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8064>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8064, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8064>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8064>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8064>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8064>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8065 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8065 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8065', first_name=u'Robot8065', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8065', first_name=u'Robot8065', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8065, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8065>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8065, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8065>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8065>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8065>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8065>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8066 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8066 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8066', first_name=u'Robot8066', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8066', first_name=u'Robot8066', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8066, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8066>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8066, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8066>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8066>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8066>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8066>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8062>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8062>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8062>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8062>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8062>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8062>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8062>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8062>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8063>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8063>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8063>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8063>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 23) FAIL: test_get_detail (user_api.tests.test_views.UserViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 336 in test_get_detail | |
| "url": uri | |
| AssertionError: {u'url': u'http://testserver/api/users/2/', u'username': u'robot8073', u'id': 2, [truncated]... != {'username': u'robot8073', 'preferences': {'key0': 'default test value'}, 'url': [truncated]... | |
| - {u'email': u'test1@test.org', | |
| ? - - | |
| + {'email': 'test1@test.org', | |
| - u'id': 2, | |
| ? - | |
| + 'id': 2, | |
| + 'name': u'Test 1', | |
| + 'preferences': {'key0': 'default test value'}, | |
| - u'url': u'http://testserver/api/users/2/', | |
| ? - | |
| + 'url': u'http://testserver/api/users/2/', | |
| - u'username': u'robot8073'} | |
| ? - | |
| + 'username': u'robot8073'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8072 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8072 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8072', first_name=u'Robot8072', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8072', first_name=u'Robot8072', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8072, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8072>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8072, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8072>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8072>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8072>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8072>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8073 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8073 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8073', first_name=u'Robot8073', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8073', first_name=u'Robot8073', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8073, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8073>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8073, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8073>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8073>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8073>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8073>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8074 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8074 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8074', first_name=u'Robot8074', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8074', first_name=u'Robot8074', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8074, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8074>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8074, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8074>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8074>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8074>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8074>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8075 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8075 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8075', first_name=u'Robot8075', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8075', first_name=u'Robot8075', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8075, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8075>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8075, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8075>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8075>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8075>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8075>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8076 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8076 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8076', first_name=u'Robot8076', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8076', first_name=u'Robot8076', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8076, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8076>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8076, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8076>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8076>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8076>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8076>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8072>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8072>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8072>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8072>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8072>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8072>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8072>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8072>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8073>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8073>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8073>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8073>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 24) FAIL: test_get_detail_unauthorized (user_api.tests.test_views.UserViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 319 in test_get_detail_unauthorized | |
| self.assertHttpForbidden(self.client.get(self.detail_uri)) | |
| common/djangoapps/user_api/tests/test_views.py line 90 in assertHttpForbidden | |
| self.assertEqual(response.status_code, 403) | |
| AssertionError: 200 != 403 | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8077 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8077 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8077', first_name=u'Robot8077', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8077', first_name=u'Robot8077', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8077, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8077>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8077, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8077>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8077>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8077>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8077>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8078 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8078 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8078', first_name=u'Robot8078', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8078', first_name=u'Robot8078', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8078, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8078>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8078, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8078>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8078>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8078>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8078>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8079 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8079 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8079', first_name=u'Robot8079', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8079', first_name=u'Robot8079', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8079, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8079>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8079, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8079>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8079>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8079>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8079>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8080 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8080 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8080', first_name=u'Robot8080', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8080', first_name=u'Robot8080', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8080, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8080>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8080, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8080>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8080>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8080>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8080>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8081 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8081 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8081', first_name=u'Robot8081', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8081', first_name=u'Robot8081', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8081, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8081>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8081, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8081>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8081>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8081>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8081>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8077>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8077>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8077>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8077>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8077>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8077>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8077>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8077>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8078>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8078>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8078>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8078>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 25) FAIL: test_get_list_nonempty (user_api.tests.test_views.UserViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 277 in test_get_list_nonempty | |
| self.assertUserIsValid(user) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot8082', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot8082', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot8082'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8082 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8082 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8082', first_name=u'Robot8082', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8082', first_name=u'Robot8082', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8082, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8082>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8082, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8082>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8082>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8082>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8082>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8083 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8083 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8083', first_name=u'Robot8083', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8083', first_name=u'Robot8083', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8083, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8083>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8083, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8083>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8083>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8083>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8083>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8084 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8084 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8084', first_name=u'Robot8084', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8084', first_name=u'Robot8084', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8084, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8084>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8084, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8084>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8084>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8084>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8084>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8085 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8085 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8085', first_name=u'Robot8085', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8085', first_name=u'Robot8085', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8085, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8085>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8085, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8085>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8085>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8085>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8085>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8086 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8086 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8086', first_name=u'Robot8086', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8086', first_name=u'Robot8086', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8086, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8086>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8086, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8086>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8086>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8086>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8086>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8082>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8082>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8082>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8082>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8082>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8082>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8082>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8082>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8083>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8083>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8083>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8083>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 26) FAIL: test_get_list_pagination (user_api.tests.test_views.UserViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 297 in test_get_list_pagination | |
| self.assertUserIsValid(user) | |
| common/djangoapps/user_api/tests/test_views.py line 77 in assertUserIsValid | |
| self.assertSelfReferential(user) | |
| common/djangoapps/user_api/tests/test_views.py line 68 in assertSelfReferential | |
| self.assertEqual(obj, copy) | |
| AssertionError: {u'username': u'robot8087', u'preferences': {u'key1': u'default test value', u'k [truncated]... != {u'url': u'http://testserver/api/users/1/', u'username': u'robot8087', u'id': 1, [truncated]... | |
| {u'email': u'test0@test.org', | |
| u'id': 1, | |
| - u'name': u'Test 0', | |
| - u'preferences': {u'key0': u'default test value', | |
| - u'key1': u'default test value'}, | |
| u'url': u'http://testserver/api/users/1/', | |
| u'username': u'robot8087'} | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8087 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8087 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8087', first_name=u'Robot8087', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8087', first_name=u'Robot8087', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8087, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8087>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8087, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8087>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8087>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8087>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8087>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8088 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8088 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8088', first_name=u'Robot8088', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8088', first_name=u'Robot8088', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8088, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8088>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8088, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8088>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8088>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8088>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8088>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8089 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8089 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8089', first_name=u'Robot8089', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8089', first_name=u'Robot8089', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8089, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8089>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8089, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8089>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8089>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8089>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8089>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8090 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8090 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8090', first_name=u'Robot8090', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8090', first_name=u'Robot8090', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8090, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8090>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8090, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8090>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8090>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8090>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8090>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8091 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8091 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8091', first_name=u'Robot8091', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8091', first_name=u'Robot8091', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8091, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8091>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8091, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8091>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8091>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8091>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8091>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8087>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8087>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8087>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8087>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8087>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8087>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8087>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8087>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8088>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8088>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8088>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8088>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 27) FAIL: test_options_detail (user_api.tests.test_views.UserViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 304 in test_options_detail | |
| self.assertAllowedMethods(self.detail_uri, ["OPTIONS", "GET", "HEAD"]) | |
| common/djangoapps/user_api/tests/test_views.py line 63 in assertAllowedMethods | |
| self.assertItemsEqual(allowed_methods, expected_methods) | |
| AssertionError: Element counts were not equal: | |
| First has 0, Second has 1: 'PUT' | |
| First has 0, Second has 1: 'DELETE' | |
| First has 0, Second has 1: 'PATCH' | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8097 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8097 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8097', first_name=u'Robot8097', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8097', first_name=u'Robot8097', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8097, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8097>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8097, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8097>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8097>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8097>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8097>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8098 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8098 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8098', first_name=u'Robot8098', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8098', first_name=u'Robot8098', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8098, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8098>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8098, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8098>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8098>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8098>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8098>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8099 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8099 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8099', first_name=u'Robot8099', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8099', first_name=u'Robot8099', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8099, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8099>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8099, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8099>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8099>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8099>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8099>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8100 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8100 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8100', first_name=u'Robot8100', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8100', first_name=u'Robot8100', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8100, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8100>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8100, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8100>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8100>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8100>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8100>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8101 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8101 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8101', first_name=u'Robot8101', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8101', first_name=u'Robot8101', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8101, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8101>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8101, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8101>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8101>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8101>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8101>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8097>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8097>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8097>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8097>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8097>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8097>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8097>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8097>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8098>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8098>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8098>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8098>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 28) FAIL: test_put_detail_not_allowed (user_api.tests.test_views.UserViewSetTest) | |
| Traceback (most recent call last): | |
| common/djangoapps/user_api/tests/test_views.py line 310 in test_put_detail_not_allowed | |
| self.assertHttpMethodNotAllowed(self.request_with_auth("put", self.detail_uri)) | |
| common/djangoapps/user_api/tests/test_views.py line 98 in assertHttpMethodNotAllowed | |
| self.assertEqual(response.status_code, 405) | |
| AssertionError: 400 != 405 | |
| -------------------- >> begin captured logging << -------------------- | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test0@test.org', 'profile__name': 'Test 0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8127 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8127 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8127', first_name=u'Robot8127', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 0', email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8127', first_name=u'Robot8127', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test0@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8127, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8127>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8127, True, None, name='Test 0') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 0', 'user': <User: robot8127>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, user=<User: robot8127>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8127>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 0', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8127>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test1@test.org', 'profile__name': 'Test 1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8128 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8128 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8128', first_name=u'Robot8128', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 1', email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8128', first_name=u'Robot8128', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test1@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8128, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8128>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8128, True, None, name='Test 1') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 1', 'user': <User: robot8128>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, user=<User: robot8128>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8128>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 1', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8128>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test2@test.org', 'profile__name': 'Test 2'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8129 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8129 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8129', first_name=u'Robot8129', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 2', email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8129', first_name=u'Robot8129', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test2@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8129, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8129>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8129, True, None, name='Test 2') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 2', 'user': <User: robot8129>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, user=<User: robot8129>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8129>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 2', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8129>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test3@test.org', 'profile__name': 'Test 3'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8130 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8130 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8130', first_name=u'Robot8130', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 3', email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8130', first_name=u'Robot8130', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test3@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8130, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8130>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8130, True, None, name='Test 3') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 3', 'user': <User: robot8130>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, user=<User: robot8130>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8130>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 3', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8130>) | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserFactory(extra={'email': 'test4@test.org', 'profile__name': 'Test 4'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserFactory(username=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682710>>, first_name=<OrderedDeclarationWrapper for <factory.declarations.Sequence object at 0x3682850>>, last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x3591870> for seq=8131 | |
| factory.generate: DEBUG: Sequence: Computing next value of <built-in method format of unicode object at 0x35918d0> for seq=8131 | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserFactory(username=u'robot8131', first_name=u'Robot8131', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), profile__name='Test 4', email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserFactory(username=u'robot8131', first_name=u'Robot8131', last_name='Test', is_active=True, is_superuser=False, is_staff=False, last_login=datetime.datetime(2012, 1, 1, 0, 0, tzinfo=<UTC>), email='test4@test.org', date_joined=datetime.datetime(2011, 1, 1, 0, 0, tzinfo=<UTC>)) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.groups(robot8131, True, None) | |
| factory.generate: DEBUG: PostGenerationMethodCall: Calling <User: robot8131>.set_password(test) | |
| factory.generate: DEBUG: PostGeneration: Calling student.tests.factories.profile(robot8131, True, None, name='Test 4') | |
| factory.generate: DEBUG: BaseFactory: Preparing student.tests.factories.UserProfileFactory(extra={'name': 'Test 4', 'user': <User: robot8131>}) | |
| factory.containers: DEBUG: LazyStub: Computing values for student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, user=<User: robot8131>, gender=u'm', goals=u'World domination') | |
| factory.containers: DEBUG: LazyStub: Computed values, got student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8131>) | |
| factory.generate: DEBUG: BaseFactory: Generating student.tests.factories.UserProfileFactory(name='Test 4', mailing_address=None, level_of_education=None, goals=u'World domination', gender=u'm', user=<User: robot8131>) | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8127>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8127>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8127>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8127>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8127>, 'key': 'key1'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8127>, key='key1') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8127>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key1', user=<User: robot8127>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Preparing user_api.tests.factories.UserPreferenceFactory(extra={'user': <User: robot8128>, 'key': 'key0'}) | |
| factory.containers: DEBUG: LazyStub: Computing values for user_api.tests.factories.UserPreferenceFactory(value='default test value', user=<User: robot8128>, key='key0') | |
| factory.containers: DEBUG: LazyStub: Computed values, got user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8128>, value='default test value') | |
| factory.generate: DEBUG: BaseFactory: Generating user_api.tests.factories.UserPreferenceFactory(key='key0', user=<User: robot8128>, value='default test value') | |
| --------------------- >> end captured logging << --------------------- | |
| ----------------------------------------------------------------------------- | |
| 29) FAIL: test_course_id_from_url (track.tests.test_contexts.TestContexts) | |
| Traceback (most recent call last): | |
| common/djangoapps/track/tests/test_contexts.py line 14 in test_course_id_from_url | |
| self.assert_parses_course_id_from_url('http://foo.bar.com/courses/{course_id}/more/stuff') | |
| common/djangoapps/track/tests/test_contexts.py line 21 in assert_parses_course_id_from_url | |
| 'org_id': self.ORG_ID | |
| AssertionError: {'course_id': '', 'org_id': ''} != {'course_id': 'test/course_name/course_run', 'org_id': 'test'} | |
| - {'course_id': '', 'org_id': ''} | |
| + {'course_id': 'test/course_name/course_run', 'org_id': 'test'} | |
| ----------------------------------------------------------------------------- | |
| 30) FAIL: test_course_id_later_in_url (track.tests.test_contexts.TestContexts) | |
| Traceback (most recent call last): | |
| common/djangoapps/track/tests/test_contexts.py line 41 in test_course_id_later_in_url | |
| self.assert_parses_course_id_from_url('http://foo.bar.com/x/y/z/courses/{course_id}') | |
| common/djangoapps/track/tests/test_contexts.py line 21 in assert_parses_course_id_from_url | |
| 'org_id': self.ORG_ID | |
| AssertionError: {'course_id': '', 'org_id': ''} != {'course_id': 'test/course_name/course_run', 'org_id': 'test'} | |
| - {'course_id': '', 'org_id': ''} | |
| + {'course_id': 'test/course_name/course_run', 'org_id': 'test'} | |
| ----------------------------------------------------------------------------- | |
| 2157 tests run in 543.5 seconds. | |
| 26 FAILED, 4 errors, 11 skipped (2116 tests passed) | |
| Destroying test database for alias 'default'... | |
| Cleaning up after lms | |
| ---> pavelib.utils.test.utils.clean_mongo | |
| mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js | |
| MongoDB shell version: 2.4.7 | |
| connecting to: test | |
| Dropping test db test_xmodule | |
| Dropping test db test_xlog | |
| Setting up for common/lib/sandbox-packages | |
| python -m coverage run --rcfile=common/lib/sandbox-packages/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/sandbox-packages/noseids common/lib/sandbox-packages --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/sandbox-packages/nosetests.xml --verbosity=1 | |
| ======================================== | |
| Running tests for common/lib/sandbox-packages | |
| ======================================== | |
| ....................................................... | |
| ----------------------------------------------------------------------------- | |
| 55 tests run in 0.2 seconds (55 tests passed) | |
| Cleaning up after common/lib/sandbox-packages | |
| ---> pavelib.utils.test.utils.clean_mongo | |
| mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js | |
| MongoDB shell version: 2.4.7 | |
| connecting to: test | |
| Setting up for common/lib/capa | |
| python -m coverage run --rcfile=common/lib/capa/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/capa/noseids common/lib/capa --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/capa/nosetests.xml --verbosity=1 | |
| ======================================== | |
| Running tests for common/lib/capa | |
| ======================================== | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| .............................................. | |
| ----------------------------------------------------------------------------- | |
| 277 tests run in 6.2 seconds (277 tests passed) | |
| Cleaning up after common/lib/capa | |
| ---> pavelib.utils.test.utils.clean_mongo | |
| mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js | |
| MongoDB shell version: 2.4.7 | |
| connecting to: test | |
| Setting up for common/lib/symmath | |
| python -m coverage run --rcfile=common/lib/symmath/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/symmath/noseids common/lib/symmath --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/symmath/nosetests.xml --verbosity=1 | |
| ======================================== | |
| Running tests for common/lib/symmath | |
| ======================================== | |
| ......... | |
| ----------------------------------------------------------------------------- | |
| 9 tests run in 2.2 seconds (9 tests passed) | |
| Cleaning up after common/lib/symmath | |
| ---> pavelib.utils.test.utils.clean_mongo | |
| mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js | |
| MongoDB shell version: 2.4.7 | |
| connecting to: test | |
| Setting up for common/lib/chem | |
| python -m coverage run --rcfile=common/lib/chem/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/chem/noseids common/lib/chem --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/chem/nosetests.xml --verbosity=1 | |
| ======================================== | |
| Running tests for common/lib/chem | |
| ======================================== | |
| ............................................................................. | |
| ......... | |
| ----------------------------------------------------------------------------- | |
| 86 tests run in 2.2 seconds (86 tests passed) | |
| Cleaning up after common/lib/chem | |
| ---> pavelib.utils.test.utils.clean_mongo | |
| mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js | |
| MongoDB shell version: 2.4.7 | |
| connecting to: test | |
| Setting up for common/lib/xmodule | |
| python -m coverage run --rcfile=common/lib/xmodule/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/xmodule/noseids common/lib/xmodule --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/xmodule/nosetests.xml --verbosity=1 | |
| ======================================== | |
| Running tests for common/lib/xmodule | |
| ======================================== | |
| ............................................................................. | |
| ............................................................................. | |
| .......................................-...-....-............................ | |
| ............................................................................. | |
| ............-................................................................ | |
| ............................................................................. | |
| ............................................................................. | |
| ............................................................................. | |
| ..............--------------.----.-.........---------------.......-.-........ | |
| --------------................................................ | |
| ----------------------------------------------------------------------------- | |
| 755 tests run in 41.0 seconds. | |
| 54 skipped (701 tests passed) | |
| Cleaning up after common/lib/xmodule | |
| ---> pavelib.utils.test.utils.clean_mongo | |
| mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js | |
| MongoDB shell version: 2.4.7 | |
| connecting to: test | |
| Dropping test db test_xmodule | |
| Setting up for common/lib/calc | |
| python -m coverage run --rcfile=common/lib/calc/.coveragerc `which nosetests` --id-file=/edx/app/edxapp/edx-platform/.testids/common/lib/calc/noseids common/lib/calc --with-xunit --xunit-file=/edx/app/edxapp/edx-platform/reports/common/lib/calc/nosetests.xml --verbosity=1 | |
| ======================================== | |
| Running tests for common/lib/calc | |
| ======================================== | |
| ....................................................... | |
| ----------------------------------------------------------------------------- | |
| 55 tests run in 0.9 seconds (55 tests passed) | |
| Cleaning up after common/lib/calc | |
| ---> pavelib.utils.test.utils.clean_mongo | |
| mongo /edx/app/edxapp/edx-platform/scripts/delete-mongo-test-dbs.js | |
| MongoDB shell version: 2.4.7 | |
| connecting to: test | |
| Cleaning up after Python Tests | |
| ================================================ | |
| Tests failed in the following suites: | |
| * cms | |
| * lms | |
| edxapp@precise64:~/edx-platform$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment