refactor: replace some create_user with UserFactory to avoid non-existent profile errors
Showing
- cms/djangoapps/cms_user_tasks/tests.py 3 additions, 3 deletionscms/djangoapps/cms_user_tasks/tests.py
- cms/djangoapps/contentstore/tests/test_i18n.py 2 additions, 2 deletionscms/djangoapps/contentstore/tests/test_i18n.py
- cms/djangoapps/contentstore/tests/test_permissions.py 2 additions, 3 deletionscms/djangoapps/contentstore/tests/test_permissions.py
- cms/djangoapps/contentstore/views/tests/test_access.py 11 additions, 4 deletionscms/djangoapps/contentstore/views/tests/test_access.py
- cms/djangoapps/contentstore/views/tests/test_user.py 7 additions, 4 deletionscms/djangoapps/contentstore/views/tests/test_user.py
- cms/djangoapps/course_creators/tests/test_admin.py 11 additions, 3 deletionscms/djangoapps/course_creators/tests/test_admin.py
- cms/djangoapps/course_creators/tests/test_views.py 11 additions, 3 deletionscms/djangoapps/course_creators/tests/test_views.py
- common/djangoapps/student/tests/test_authz.py 19 additions, 9 deletionscommon/djangoapps/student/tests/test_authz.py
- common/djangoapps/student/tests/tests.py 1 addition, 1 deletioncommon/djangoapps/student/tests/tests.py
- common/djangoapps/third_party_auth/saml_configuration/tests/test_saml_configuration.py 2 additions, 2 deletions..._auth/saml_configuration/tests/test_saml_configuration.py
- common/djangoapps/third_party_auth/samlproviderconfig/tests/test_samlproviderconfig.py 2 additions, 1 deletion..._auth/samlproviderconfig/tests/test_samlproviderconfig.py
- common/djangoapps/third_party_auth/samlproviderdata/tests/test_samlproviderdata.py 2 additions, 1 deletion...arty_auth/samlproviderdata/tests/test_samlproviderdata.py
- lms/djangoapps/ccx/api/v0/tests/test_views.py 9 additions, 4 deletionslms/djangoapps/ccx/api/v0/tests/test_views.py
- lms/djangoapps/course_goals/tests/test_api.py 2 additions, 1 deletionlms/djangoapps/course_goals/tests/test_api.py
- lms/djangoapps/course_home_api/outline/tests/test_goals.py 3 additions, 1 deletionlms/djangoapps/course_home_api/outline/tests/test_goals.py
- lms/djangoapps/discussion/django_comment_client/base/tests.py 2 additions, 2 deletions...djangoapps/discussion/django_comment_client/base/tests.py
- lms/djangoapps/program_enrollments/rest_api/v1/tests/test_views.py 1 addition, 2 deletions...oapps/program_enrollments/rest_api/v1/tests/test_views.py
- lms/djangoapps/survey/tests/test_models.py 7 additions, 3 deletionslms/djangoapps/survey/tests/test_models.py
- lms/djangoapps/survey/tests/test_utils.py 10 additions, 4 deletionslms/djangoapps/survey/tests/test_utils.py
- openedx/core/djangoapps/content/learning_sequences/api/tests/test_outlines.py 21 additions, 19 deletions...pps/content/learning_sequences/api/tests/test_outlines.py
Loading
Please register or sign in to comment