Fix ResourceNotFoundError exception message (#3582)
* Fix ResourceNotFoundError message * Fix and update unit test for invalid `describe_identity_pool`.
This commit is contained in:
parent
6dfd64ff3c
commit
13252cc4e3
2 changed files with 5 additions and 5 deletions
|
|
@ -45,7 +45,7 @@ class CognitoIdentityBackend(BaseBackend):
|
|||
identity_pool = self.identity_pools.get(identity_pool_id, None)
|
||||
|
||||
if not identity_pool:
|
||||
raise ResourceNotFoundError(identity_pool)
|
||||
raise ResourceNotFoundError(identity_pool_id)
|
||||
|
||||
response = json.dumps(
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue