##// END OF EJS Templates
BUG: Convert to bytes before comparing binary blobs.
Scott Sanderson -
Show More
@@ -289,7 +289,7 b' class APITest(NotebookTestBase):'
289 self.assertEqual(model['format'], 'base64')
289 self.assertEqual(model['format'], 'base64')
290 self.assertEqual(model['type'], 'file')
290 self.assertEqual(model['type'], 'file')
291 self.assertEqual(
291 self.assertEqual(
292 base64.decodestring(model['content']),
292 base64.decodestring(model['content'].encode('ascii')),
293 self._blob_for_name(name),
293 self._blob_for_name(name),
294 )
294 )
295
295
General Comments 0
You need to be logged in to leave comments. Login now