Show More
@@ -91,7 +91,6 b' class FilesTest(NotebookTestBase):' | |||||
91 | r = requests.get(url_path_join(base, 'files', 'test.bin')) |
|
91 | r = requests.get(url_path_join(base, 'files', 'test.bin')) | |
92 | self.assertEqual(r.status_code, 200) |
|
92 | self.assertEqual(r.status_code, 200) | |
93 | self.assertEqual(r.headers['content-type'], 'application/octet-stream') |
|
93 | self.assertEqual(r.headers['content-type'], 'application/octet-stream') | |
94 | # self.assertTrue(r.content[0] == 255 or r.content[0] == b'\xff') |
|
|||
95 | self.assertEqual(r.content[:1], b'\xff') |
|
94 | self.assertEqual(r.content[:1], b'\xff') | |
96 | self.assertEqual(len(r.content), 6) |
|
95 | self.assertEqual(len(r.content), 6) | |
97 |
|
96 |
General Comments 0
You need to be logged in to leave comments.
Login now