Skip to content
All lessons

Tech Insights· docs.python.org

If you are testing sending emails in your project and are using mock, use call_args_list method to see a list of all the calls made to the mock object in sequence: #unittest.mock.Mock.call_args_list

Shared by

Read on docs.python.org
  • Python
  • Test

Book a call

Lessons like this one
shape how we build.

Tell us what you’re building. In one call, we’ll show you how our team would approach it.

Tell us what you’re building, and we’ll show you how we’d approach it.

Still prefer the good old email? Contact us