Skip to content

Commit 595d591

Browse files
Fix CI — bokeh 3.9.0 (#9205)
Co-authored-by: Florian Jetter <florian.jetter@quantco.com>
1 parent a13b06c commit 595d591

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{# Compatibility shim: bokeh >=3.9 renamed file.html to file.html.jinja #}
2+
{% extends "file.html.jinja" %}

distributed/dashboard/tests/test_scheduler_bokeh.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,10 +1341,7 @@ async def test_prefix_bokeh(s, a, b):
13411341
f"http://localhost:{s.http_server.port}/{prefix}/status"
13421342
)
13431343
assert response.code == 200
1344-
assert (
1345-
f'<script type="text/javascript" src="/{prefix}/static/'
1346-
in response.body.decode()
1347-
)
1344+
assert f'src="/{prefix}/static/' in response.body.decode()
13481345

13491346
bokeh_app = s.http_application.applications[0]
13501347
assert isinstance(bokeh_app, BokehTornado)
@@ -1373,7 +1370,7 @@ async def test_bokeh_relative(s, a, b):
13731370
http_client = AsyncHTTPClient()
13741371
response = await http_client.fetch(f"http://localhost:{s.http_server.port}/status")
13751372
assert response.code == 200
1376-
assert '<script type="text/javascript" src="static/' in response.body.decode()
1373+
assert 'src="static/' in response.body.decode()
13771374

13781375

13791376
@gen_cluster(client=True, scheduler_kwargs={"dashboard": True})

0 commit comments

Comments
 (0)