Skip to content

Commit e13b6b5

Browse files
committed
🧪 Fix failing tests
1 parent 0fc7499 commit e13b6b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎tests/cli/test_sender_command.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_sender_command(request, monkeypatch) -> None:
1414
with tempfile.TemporaryDirectory() as tempd:
1515
monkeypatch.setenv("SIMVUE_OFFLINE_DIRECTORY", tempd)
1616
_run = Run(mode="offline")
17-
setup_test_run(_run, tempd, create_objects=True, request=request)
17+
setup_test_run(_run, temp_dir=tempd, create_objects=True, request=request)
1818
_run.close()
1919
_runner = click.testing.CliRunner()
2020
_result = _runner.invoke(

‎tests/functional/test_client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def test_plot_metrics(create_test_run: tuple[sv_run.Run, dict]) -> None:
161161
raise AssertionError("Failed to retrieve metrics.")
162162
client.plot_metrics(
163163
run_ids=[create_test_run[1]["run_id"]],
164-
metric_names=list(create_test_run[1]["metrics"]),
164+
metric_names=[m for m in create_test_run[1]["metrics"] if not m.startswith("grid")],
165165
xaxis="time",
166166
)
167167

0 commit comments

Comments
 (0)