cfme.fixtures.smtp module

This module provides a fixture useful for checking the e-mails arrived.

Main use is of fixture smtp_test(), which is function scoped. There is also a smtp_test_module() fixture for which the smtp_test is just a function-scoped wrapper to speed things up. The base of all this is the session-scoped _smtp_test_session that keeps care about the collector.

cfme.fixtures.smtp.smtp_test(request, appliance)[source]

Fixture, which prepares the appliance for e-mail capturing tests

Returns: util.smtp_collector_client.SMTPCollectorClient instance.