Show More
@@ -42,13 +42,13 b' class FilesTest(NotebookTestBase):' | |||
|
42 | 42 | r.raise_for_status() |
|
43 | 43 | self.assertEqual(r.text, 'foo') |
|
44 | 44 | r = requests.get(url_path_join(url, 'files', d, '.foo')) |
|
45 |
self.assertEqual(r.status_code, 40 |
|
|
45 | self.assertEqual(r.status_code, 404) | |
|
46 | 46 | |
|
47 | 47 | for d in hidden: |
|
48 | 48 | path = pjoin(nbdir, d.replace('/', os.sep)) |
|
49 | 49 | for foo in ('foo', '.foo'): |
|
50 | 50 | r = requests.get(url_path_join(url, 'files', d, foo)) |
|
51 |
self.assertEqual(r.status_code, 40 |
|
|
51 | self.assertEqual(r.status_code, 404) | |
|
52 | 52 | |
|
53 | 53 | def test_old_files_redirect(self): |
|
54 | 54 | """pre-2.0 'files/' prefixed links are properly redirected""" |
General Comments 0
You need to be logged in to leave comments.
Login now