Skip to content

Commit

Permalink
remove: wrong test
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes committed Feb 14, 2024
1 parent fb77cf1 commit 4bcd211
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tests/commands/live/test_local_live_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,22 +234,3 @@ def test_local_live_update_order_fails_without_order_id() -> None:
result = CliRunner().invoke(lean, ["live", "update-order", "Python Project"])

assert result.exit_code != 0

def test_local() -> None:
create_fake_lean_cli_directory()

project_config_manager = mock.MagicMock()
project_config_manager.get_latest_live_directory.return_value = "mock_live_dir"
container.project_config_manager = project_config_manager

output_config_manager = mock.Mock()
container.output_config_manager = output_config_manager

docker_manager = mock.MagicMock()
docker_manager.read_from_file.return_value = {"success": True}
container.docker_manager = docker_manager

result = CliRunner().invoke(lean, ["live", "add-security", "Python Project",
*symbol_options])

assert result.exit_code == 0

0 comments on commit 4bcd211

Please sign in to comment.