update xblock only to mark field values as dirty if they've changed (TNL-2475)
force save "download_video" field if not set set timezone to UTC explicitly
This commit is contained in:
@@ -154,7 +154,7 @@ class XBlockVisibilityTestCase(ModuleStoreTestCase):
|
||||
super(XBlockVisibilityTestCase, self).setUp()
|
||||
|
||||
self.dummy_user = ModuleStoreEnum.UserID.test
|
||||
self.past = datetime(1970, 1, 1)
|
||||
self.past = datetime(1970, 1, 1, tzinfo=UTC)
|
||||
self.future = datetime.now(UTC) + timedelta(days=1)
|
||||
self.course = CourseFactory.create()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user