From 8de3bdcf298f9d21e311cca0c46e75404133db85 Mon Sep 17 00:00:00 2001 From: acsbendi Date: Thu, 4 Jul 2019 16:48:44 +0200 Subject: [PATCH] Fixed printing IAM request class' name. --- moto/core/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/core/authentication.py b/moto/core/authentication.py index e8eb50626..96247970b 100644 --- a/moto/core/authentication.py +++ b/moto/core/authentication.py @@ -24,7 +24,7 @@ ACCESS_KEY_STORE = { class IAMRequestBase(ABC): def __init__(self, method, path, data, headers): - print(f"Creating {IAMRequest.__name__} with method={method}, path={path}, data={data}, headers={headers}") + print(f"Creating {self.__class__.__name__} with method={method}, path={path}, data={data}, headers={headers}") self._method = method self._path = path self._data = data