@step(CHECK_PREFIX + r'<STR_LIT>')<EOL>def mail_sent_count(self, count):
expected = int(count)<EOL>actual = len(mail.outbox)<EOL>assert expected == actual,"<STR_LIT>".format(expected, actual)<EOL>
Test that `count` mails have been sent.

Syntax:

    I have sent `count` emails

Example:

.. code-block:: gherkin

    Then I have sent 2 emails