Skip to content

Commit

Permalink
Minor tweaks to more closely match the suggested style.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyandrewmeyer committed Sep 20, 2023
1 parent cb4574b commit b2a9f13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ops/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ def get_workload_version(self) -> str:
def set_model_info(self, name: Optional[str] = None, uuid: Optional[str] = None) -> None:
"""Set the name and UUID of the model that this is representing.
This cannot be called once :meth:`begin` has been called. Use it to set the
Cannot be called once :meth:`begin` has been called. Use it to set the
value that will be returned by :attr:`Model.name <ops.Model.name>` and
:attr:`Model.uuid <ops.Model.uuid>`.
Expand All @@ -1090,7 +1090,7 @@ def set_model_info(self, name: Optional[str] = None, uuid: Optional[str] = None)
def set_model_name(self, name: str) -> None:
"""Set the name of the Model that this is representing.
This cannot be called once :meth:`begin` has been called. Use it to set the
Cannot be called once :meth:`begin` has been called. Use it to set the
value that will be returned by :attr:`Model.name <ops.Model.name>`.
"""
if self._charm is not None:
Expand All @@ -1100,7 +1100,7 @@ def set_model_name(self, name: str) -> None:
def set_model_uuid(self, uuid: str) -> None:
"""Set the uuid of the Model that this is representing.
This cannot be called once :meth:`begin` has been called. Use it to set the
Cannot be called once :meth:`begin` has been called. Use it to set the
value that will be returned by :attr:`Model.uuid <ops.Model.uuid>`.
"""
if self._charm is not None:
Expand Down

0 comments on commit b2a9f13

Please sign in to comment.