Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgameiroborges committed Apr 24, 2024
1 parent 17fcb6e commit 8ebd2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8ebd2bb

Please sign in to comment.