Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Sep 26, 2024
1 parent 68122cf commit 3d700ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pioreactor/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_plugin_is_available_to_run() -> None:
def test_list_plugins() -> None:
runner = CliRunner()
result = runner.invoke(pio, ["plugins", "list"])
assert "example_plugin==0.2.0" in result.output
assert "my-example-plugin==0.2.0" in result.output


@pytest.mark.skip(reason="not sure why this fails")
Expand Down
4 changes: 2 additions & 2 deletions pioreactor/tests/test_execute_experiment_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def test_execute_experiment_profile_expression(mock__load_experiment_profile) ->
execute_experiment_profile("profile.yaml", experiment)

assert bucket[0].json == {
"options": {"target": 11.0, "dont_eval": "1.0 + 1.0", "job_source": "experiment_profile"},
"options": {"target": 11.0, "dont_eval": "1.0 + 1.0"},
"env": {"EXPERIMENT": "_testing_experiment", "JOB_SOURCE": "experiment_profile"},
"args": [],
}
Expand Down Expand Up @@ -516,8 +516,8 @@ def test_execute_experiment_profile_expression_in_common(
for item in bucket:
assert item.json == {
"args": [],
"env": {"EXPERIMENT": "_testing_experiment", "JOB_SOURCE": "experiment_profile"},
"options": {
"job_source": "experiment_profile",
"target": 11.0,
},
}
Expand Down

0 comments on commit 3d700ec

Please sign in to comment.