Skip to content

Commit 2d3f737

Browse files
Mike ProsserMike Prosser
authored andcommitted
fix tests
1 parent 2b971e0 commit 2d3f737

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/unit/test_panel_client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def test___enumerate_is_empty(fake_panel_channel: grpc.Channel) -> None:
1313
def test___start_panels___enumerate_has_panels(fake_panel_channel: grpc.Channel) -> None:
1414
client = create_panel_client(fake_panel_channel)
1515

16-
client.start_panel("panel1", "uri1")
17-
client.start_panel("panel2", "uri2")
16+
client.start_panel("panel1", "uri1", "python.exe")
17+
client.start_panel("panel2", "uri2", "python.exe")
1818

1919
assert client.enumerate_panels() == {
2020
"panel1": ("http://localhost:50051/panel1", []),
@@ -26,8 +26,8 @@ def test___start_panels___stop_panel_1_with_reset___enumerate_has_panel_2(
2626
fake_panel_channel: grpc.Channel,
2727
) -> None:
2828
client = create_panel_client(fake_panel_channel)
29-
client.start_panel("panel1", "uri1")
30-
client.start_panel("panel2", "uri2")
29+
client.start_panel("panel1", "uri1", "python.exe")
30+
client.start_panel("panel2", "uri2", "python.exe")
3131

3232
client.stop_panel("panel1", reset=True)
3333

@@ -40,8 +40,8 @@ def test___start_panels___stop_panel_1_without_reset___enumerate_has_both_panels
4040
fake_panel_channel: grpc.Channel,
4141
) -> None:
4242
client = create_panel_client(fake_panel_channel)
43-
client.start_panel("panel1", "uri1")
44-
client.start_panel("panel2", "uri2")
43+
client.start_panel("panel1", "uri1", "python.exe")
44+
client.start_panel("panel2", "uri2", "python.exe")
4545

4646
client.stop_panel("panel1", reset=False)
4747

0 commit comments

Comments
 (0)