Skip to content

Commit ba40f81

Browse files
committed
log some more
1 parent 47f07a4 commit ba40f81

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_files.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ def maybe_hidden(request):
2323

2424
async def fetch_expect_200(jp_fetch, *path_parts):
2525
r = await jp_fetch('files', *path_parts, method='GET')
26-
assert (r.body.decode() == path_parts[-1]), path_parts
26+
assert (r.body.decode() == path_parts[-1]), (path_parts, r.body)
2727

2828

2929
async def fetch_expect_404(jp_fetch, *path_parts):
3030
with pytest.raises(tornado.httpclient.HTTPClientError) as e:
31-
await jp_fetch('files', *path_parts, method='GET')
32-
assert expected_http_error(e, 404), path_parts
31+
r = await jp_fetch('files', *path_parts, method='GET')
32+
print(r.body)
33+
assert expected_http_error(e, 404), [path_parts, e]
3334

3435

3536
async def test_hidden_files(jp_fetch, jp_serverapp, jp_root_dir, maybe_hidden):

0 commit comments

Comments
 (0)