Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
raminqaf committed Jun 27, 2024
1 parent d6469c6 commit 1da3176
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/components/test_producer_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,11 @@ async def test_destroy(
)

@pytest.mark.asyncio()
async def test_should_clean_producer_app(
async def test_should_not_reset_producer_app(
self,
producer_app: ProducerApp,
mocker: MockerFixture,
):
# cleaner
mock_helm_upgrade_install = mocker.patch.object(
producer_app._cleaner.helm, "upgrade_install"
)
Expand All @@ -215,8 +214,8 @@ async def test_should_clean_producer_app(
)

mock = mocker.MagicMock()
mock.attach_mock(mock_helm_uninstall, "helm_uninstall")
mock.attach_mock(mock_helm_upgrade_install, "helm_upgrade_install")
mock.attach_mock(mock_helm_uninstall, "helm_uninstall")
mock.attach_mock(mock_helm_print_helm_diff, "print_helm_diff")

await producer_app.clean(dry_run=True)
Expand Down

0 comments on commit 1da3176

Please sign in to comment.