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