Skip to content

Add an initial draft for test utilities #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update localstack-sdk-python/localstack/sdk/testing/decorators.py
Co-authored-by: Viren Nadkarni <viren.nadkarni@gmail.com>
  • Loading branch information
giograno and viren-nadkarni authored Nov 27, 2024
commit 4b28481e7594766c60183fdabcce2307b3efdd0d
2 changes: 1 addition & 1 deletion localstack-sdk-python/localstack/sdk/testing/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def decorator(func):
@wraps(func)
def wrapper(*test_args, **test_kwargs):
if not (pod_name := kwargs.get("name")):
raise Exception("Specify a Cloud Pod name")
raise Exception("Specify a Cloud Pod name in the `name` arg")
pods_client = PodsClient()
LOG.debug("Loading %s", pod_name)
pods_client.load_pod(pod_name=pod_name)
Expand Down