diff --git a/testing/src/scenario/mocking.py b/testing/src/scenario/mocking.py index 512de0de7..a686edbbd 100644 --- a/testing/src/scenario/mocking.py +++ b/testing/src/scenario/mocking.py @@ -448,7 +448,7 @@ def _check_can_manage_secret( ): if secret.owner is None: raise SecretNotFoundError( - 'this secret is not owned by this unit/app or granted to it. ' + 'this secret is not owned by this unit/app. ' 'Did you forget passing it to State.secrets?', ) if secret.owner == 'app' and not self.is_leader():