From 8ebd2bb66e41bd90b7be5c40b7492a14a57c2cec Mon Sep 17 00:00:00 2001 From: Lucas Gameiro Borges Date: Wed, 24 Apr 2024 18:03:05 +0000 Subject: [PATCH] fix typo --- tests/unit/test_charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_charm.py b/tests/unit/test_charm.py index 148d350f3..777c3e2c9 100644 --- a/tests/unit/test_charm.py +++ b/tests/unit/test_charm.py @@ -445,7 +445,7 @@ def test_set_secret(self): @patch("charm.JujuVersion.has_secrets", new_callable=PropertyMock, return_value=True) def test_set_reset_new_secret(self, scope, is_leader, _): """NOTE: currently ops.testing seems to allow for non-leader to set secrets too!""" - # App has to be leader, unit can be eithe + # App has to be leader, unit can be either with self.harness.hooks_disabled(): self.harness.set_leader(is_leader)