Skip to content

Commit

Permalink
rename: missed
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes committed Feb 20, 2024
1 parent c70e2f0 commit d6e1118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lean/commands/live/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def deploy(project: Path,
[update_essential_properties_available(data_feed_configurers, kwargs)]

elif brokerage is not None or len(data_provider_live) > 0:
ensure_options(["brokerage", "data_feed"])
ensure_options(["brokerage", "data_provider_live"])

environment_name = "lean-cli"
lean_config = lean_config_manager.get_complete_lean_config(environment_name, algorithm_file, None)
Expand Down
2 changes: 1 addition & 1 deletion tests/commands/test_live.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def test_live_non_interactive_raise_error_when_missing_data_provider_live_option

error_msg = str(result.exc_info[1]).split()

assert "data-provider-live" in error_msg
assert "--data-provider-live" in error_msg
assert "data-queue-handler" not in error_msg

assert result.exit_code != 0
Expand Down

0 comments on commit d6e1118

Please sign in to comment.