diff --git a/scenario/context.py b/scenario/context.py index 26665c06..c600ed18 100644 --- a/scenario/context.py +++ b/scenario/context.py @@ -178,7 +178,7 @@ def config_changed(): return _Event("config_changed") @staticmethod - @_copy_doc(ops.UpdateStatusEvent) + @_copy_doc(ops.UpgradeCharmEvent) def upgrade_charm(): return _Event("upgrade_charm") diff --git a/scenario/state.py b/scenario/state.py index b089c582..3520f344 100644 --- a/scenario/state.py +++ b/scenario/state.py @@ -824,7 +824,7 @@ class Notice(_max_posargs(1)): last_repeated: datetime.datetime = dataclasses.field(default_factory=_now_utc) """The time this notice was last repeated. - See Pebble's `Notices documentation `_ + See Pebble's `Notices documentation `_ for an explanation of what "repeated" means. """