def test_email_alert_search_sample(capsys): import email_alert_search_sample import re email_alert_search_sample.run_sample() out, _ = capsys.readouterr() expected = ('.*matchingJobs.*') assert re.search(expected, out)
def _(): email_alert_search_sample.run_sample(company_name) out, _ = capsys.readouterr() expected = ('.*matchingJobs.*') assert re.search(expected, out)
def eventually_consistent_test(): email_alert_search_sample.run_sample(company_name) out, _ = capsys.readouterr() expected = ('.*matchingJobs.*') assert re.search(expected, out)