Commit 8b5a8cc1 by Will Daly

Fix broken test

parent 50a252cd
......@@ -137,7 +137,7 @@ class StudioViewTest(XBlockHandlerTestCase):
# Set the problem to unpublished with a start date in the future
xblock.published_date = None
xblock.start = dt.datetime(3000, 1, 1).replace(tzinfo=pytz.utc).isoformat()
xblock.start = dt.datetime(3000, 1, 1).replace(tzinfo=pytz.utc)
resp = self.request(xblock, 'check_released', json.dumps(""), response_format='json')
self.assertTrue(resp['success'])
self.assertFalse(resp['is_released'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment