I'm writing tests in Moto and Pytest for a confirm sign up route that receives a verification code and a email and uses boto method confirm_sign_up to confirm user. My question is: After I created a user pool, a client and a user, how can I get the verification code that will be sended to the user e-mail?
I'm also creating tests for password change, that requires a code to change the user password. I also want to know how to get this password change code.
I looked for methods in boto and not discovered a method or attribute like this.