Skip to content

Commit 0e8a00f

Browse files
committed
fix imports
1 parent 20816c4 commit 0e8a00f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_files.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,12 @@ def maybe_hidden(request):
2929
request_timeout=0.0
3030
)
3131

32-
# shouldn't be overloading this
32+
# HACK: shouldn't be overloading this
33+
34+
from jupyter_server.utils import url_path_join
35+
import urllib.parse
36+
from tornado.escape import url_escape
37+
3338
@pytest.fixture
3439
def jp_fetch(jp_serverapp, http_server_client, jp_auth_header, jp_base_url):
3540
def client_fetch(*parts, headers={}, params={}, **kwargs):
@@ -46,6 +51,7 @@ def client_fetch(*parts, headers={}, params={}, **kwargs):
4651
)
4752
return client_fetch
4853

54+
# /HACK
4955

5056
async def fetch_expect_200(jp_fetch, *path_parts):
5157
r = await jp_fetch('files', *path_parts, method='GET', **TIMEOUTS)

0 commit comments

Comments
 (0)