Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
87238e6d
Commit
87238e6d
authored
Nov 19, 2013
by
Julia Hansbrough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed null bits
parent
41b73d8f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
common/djangoapps/student/tests/tests.py
+1
-1
common/djangoapps/student/views.py
+2
-2
No files found.
common/djangoapps/student/tests/tests.py
View file @
87238e6d
...
...
@@ -65,7 +65,7 @@ class ResetPasswordTests(TestCase):
bad_pwd_req
=
self
.
request_factory
.
post
(
'/password_reset/'
,
{
'email'
:
self
.
user_bad_passwd
.
email
})
bad_pwd_resp
=
password_reset
(
bad_pwd_req
)
# If they've got an unusable password,
fine, we should let them reset it
# If they've got an unusable password,
we return a successful response code
self
.
assertEquals
(
bad_pwd_resp
.
status_code
,
200
)
self
.
assertEquals
(
bad_pwd_resp
.
content
,
json
.
dumps
({
'success'
:
True
,
'value'
:
"('registration/password_reset_done.html', [])"
}))
...
...
common/djangoapps/student/views.py
View file @
87238e6d
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment