From 0c25e0989b0cfbcfe4177854a04a39bc565d4b99 Mon Sep 17 00:00:00 2001 From: Tiexin Guo Date: Wed, 10 Apr 2024 07:45:16 +0800 Subject: [PATCH] Update scenario/mocking.py Co-authored-by: PietroPasotti --- scenario/mocking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenario/mocking.py b/scenario/mocking.py index d16533c9..662cc01f 100644 --- a/scenario/mocking.py +++ b/scenario/mocking.py @@ -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