##// END OF EJS Templates
py3k bytes, for crying out loud
MinRK -
Show More
@@ -40,7 +40,7 class FilesTest(NotebookTestBase):
40 path = pjoin(nbdir, d.replace('/', os.path.sep))
40 path = pjoin(nbdir, d.replace('/', os.path.sep))
41 r = requests.get(url_path_join(url, 'files', d, 'foo'))
41 r = requests.get(url_path_join(url, 'files', d, 'foo'))
42 r.raise_for_status()
42 r.raise_for_status()
43 self.assertEqual(r.content, u'foo')
43 self.assertEqual(r.content, b'foo')
44 r = requests.get(url_path_join(url, 'files', d, '.foo'))
44 r = requests.get(url_path_join(url, 'files', d, '.foo'))
45 self.assertEqual(r.status_code, 403)
45 self.assertEqual(r.status_code, 403)
46
46
General Comments 0
You need to be logged in to leave comments. Login now