Skip to content

Commit

Permalink
Update scenario/mocking.py
Browse files Browse the repository at this point in the history
Co-authored-by: PietroPasotti <[email protected]>
  • Loading branch information
IronCore864 and PietroPasotti authored Apr 9, 2024
1 parent 56e56db commit 0c25e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scenario/mocking.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def resource_get(self, resource_name: str) -> str:
def credential_get(self) -> CloudSpec:
if not self._state.cloud_spec:
raise ModelError(
"ERROR cloud spec is empty, initialise it with `scenario.State(cloud_spec=...)`",
"ERROR cloud spec is empty, initialise it with `scenario.State(cloud_spec=scenario.state.CloudSpec(...))`",
)
return self._state.cloud_spec

Expand Down

0 comments on commit 0c25e09

Please sign in to comment.