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
9d429714
Commit
9d429714
authored
Jun 23, 2015
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8646 from edx/clytwynec/fix-TestEmailMessageWithCustomICRVBlock
don't use hardcoded date in verification email test
parents
545f5219
f81e373b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
lms/djangoapps/verify_student/tests/test_views.py
+1
-2
No files found.
lms/djangoapps/verify_student/tests/test_views.py
View file @
9d429714
...
@@ -2023,8 +2023,7 @@ class TestEmailMessageWithCustomICRVBlock(ModuleStoreTestCase):
...
@@ -2023,8 +2023,7 @@ class TestEmailMessageWithCustomICRVBlock(ModuleStoreTestCase):
def
test_denied_email_message_with_close_verification_dates
(
self
):
def
test_denied_email_message_with_close_verification_dates
(
self
):
# Due date given and expired
# Due date given and expired
return_value
=
datetime
.
now
(
tz
=
pytz
.
UTC
)
+
timedelta
(
days
=
22
)
return_value
=
datetime
(
2016
,
1
,
1
,
tzinfo
=
timezone
.
utc
)
with
patch
.
object
(
timezone
,
'now'
,
return_value
=
return_value
):
with
patch
.
object
(
timezone
,
'now'
,
return_value
=
return_value
):
__
,
body
=
_compose_message_reverification_email
(
__
,
body
=
_compose_message_reverification_email
(
self
.
course
.
id
,
self
.
user
.
id
,
self
.
reverification_location
,
"denied"
,
self
.
request
self
.
course
.
id
,
self
.
user
.
id
,
self
.
reverification_location
,
"denied"
,
self
.
request
...
...
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