Skip to content

Commit

Permalink
Prevent test failure when VenvService is instantiated more that once
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenFrankel committed May 31, 2024
1 parent 7a61121 commit 69f8295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/meltano/cli/test_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ def test_add_with_python_version(self, cli_runner: CliRunner):
),
),
)
venv_mock.assert_called_once_with(python)
venv_mock.assert_called_with(python)

def test_add_with_force_flag(self, project: Project, cli_runner: CliRunner):
with mock.patch("meltano.cli.params.install_plugins") as install_plugin_mock:
Expand Down

0 comments on commit 69f8295

Please sign in to comment.