Skip to content

Commit 3d700ec

Browse files
fix tests
1 parent 68122cf commit 3d700ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pioreactor/tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_plugin_is_available_to_run() -> None:
5656
def test_list_plugins() -> None:
5757
runner = CliRunner()
5858
result = runner.invoke(pio, ["plugins", "list"])
59-
assert "example_plugin==0.2.0" in result.output
59+
assert "my-example-plugin==0.2.0" in result.output
6060

6161

6262
@pytest.mark.skip(reason="not sure why this fails")

pioreactor/tests/test_execute_experiment_profile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def test_execute_experiment_profile_expression(mock__load_experiment_profile) ->
414414
execute_experiment_profile("profile.yaml", experiment)
415415

416416
assert bucket[0].json == {
417-
"options": {"target": 11.0, "dont_eval": "1.0 + 1.0", "job_source": "experiment_profile"},
417+
"options": {"target": 11.0, "dont_eval": "1.0 + 1.0"},
418418
"env": {"EXPERIMENT": "_testing_experiment", "JOB_SOURCE": "experiment_profile"},
419419
"args": [],
420420
}
@@ -516,8 +516,8 @@ def test_execute_experiment_profile_expression_in_common(
516516
for item in bucket:
517517
assert item.json == {
518518
"args": [],
519+
"env": {"EXPERIMENT": "_testing_experiment", "JOB_SOURCE": "experiment_profile"},
519520
"options": {
520-
"job_source": "experiment_profile",
521521
"target": 11.0,
522522
},
523523
}

0 commit comments

Comments
 (0)