refactor: replace User for UserFactory and its methods
This change is done so the profile is automatically created for tests users
Showing
- cms/djangoapps/contentstore/views/tests/test_entrance_exam.py 2 additions, 3 deletions...djangoapps/contentstore/views/tests/test_entrance_exam.py
- common/djangoapps/student/management/tests/test_change_enterprise_user_username.py 4 additions, 2 deletions.../management/tests/test_change_enterprise_user_username.py
- common/djangoapps/student/tests/tests.py 5 additions, 5 deletionscommon/djangoapps/student/tests/tests.py
- common/lib/xmodule/xmodule/modulestore/tests/django_utils.py 3 additions, 3 deletionscommon/lib/xmodule/xmodule/modulestore/tests/django_utils.py
- lms/djangoapps/grades/management/commands/tests/test_compute_grades.py 2 additions, 2 deletions...s/grades/management/commands/tests/test_compute_grades.py
- openedx/core/djangoapps/credit/tests/test_services.py 2 additions, 1 deletionopenedx/core/djangoapps/credit/tests/test_services.py
- openedx/core/djangoapps/user_authn/views/tests/test_login.py 1 addition, 1 deletionopenedx/core/djangoapps/user_authn/views/tests/test_login.py
Please register or sign in to comment