From d5b7d285d6895addc9dcc7fcb0c9daf49a8c86a3 Mon Sep 17 00:00:00 2001 From: Awais Date: Mon, 22 Jun 2015 14:55:12 +0500 Subject: [PATCH] ECOM-1772 Due date issue test case fixed. --- lms/djangoapps/verify_student/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/verify_student/tests/test_views.py b/lms/djangoapps/verify_student/tests/test_views.py index 0027c312b7..833b8e4b95 100644 --- a/lms/djangoapps/verify_student/tests/test_views.py +++ b/lms/djangoapps/verify_student/tests/test_views.py @@ -1849,7 +1849,7 @@ class TestEmailMessageWithCustomICRVBlock(ModuleStoreTestCase): """ self.course_key = SlashSeparatedCourseKey("Robot", "999", "Test_Course") self.course = CourseFactory.create(org='Robot', number='999', display_name='Test Course') - self.due_date = datetime(2015, 6, 22, tzinfo=pytz.UTC) + self.due_date = datetime.now(pytz.UTC) + timedelta(days=20) self.allowed_attempts = 1 # Create the course modes