Commit e0ffc198 by Will Daly

Merge pull request #137 from edx/will/update-studio-test

Fix broken test
parents 50a252cd 8b5a8cc1
......@@ -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