Skip to content

Commit

Permalink
tidy: remove commented out test
Browse files Browse the repository at this point in the history
  • Loading branch information
rav-pradhan committed Nov 5, 2024
1 parent 17af315 commit fb05322
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/platform_helper/test_command_codebase.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,32 +197,6 @@ def test_codebase_build_aborts_with_a_nonexistent_commit_hash(
mock_codebase_object_instance.build.assert_called_once_with("test-application", "application", "nonexistent-commit-hash")
assert result.exit_code == 1

# @patch("dbt_platform_helper.commands.codebase.Codebase")
# def test_codebase_build_does_not_trigger_build_without_confirmation(
# self, mock_codebase_object
# ):

# # mock_subprocess_run.return_value.stderr = ""
# # mock_click_confirm.return_value = False

# mock_codebase_object_instance = mock_codebase_object.return_value
# mock_codebase_object_instance.build. =
# os.environ["AWS_PROFILE"] = "foo"

# result = CliRunner().invoke(
# build,
# [
# "--app",
# "test-application",
# "--codebase",
# "application",
# "--commit",
# "ab1c23d",
# ],
# )

# assert """Your build was not triggered.""" in result.output


class TestCodebaseDeploy:
@patch("dbt_platform_helper.commands.codebase.get_aws_session_or_abort")
Expand Down

0 comments on commit fb05322

Please sign in to comment.