Skip to content

Commit

Permalink
fix uninstall test (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsander-souza authored Feb 16, 2024
1 parent 464bb9e commit d435174
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maas-agent-charm/tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def test_start(self, mock_helper):

@patch("charm.MaasHelper", autospec=True)
def test_remove(self, mock_helper):
mock_helper.get_maas_mode.return_value = "rack"
self.harness.begin()
self.harness.charm.on.remove.emit()
mock_helper.uninstall.assert_called_once()
Expand Down

0 comments on commit d435174

Please sign in to comment.