Example #1
0
def test_new_member_info_sepa(member_with_sepa_profile):
    assert str(new_member_mail_info_sepa(member_with_sepa_profile,
                                         None)).startswith("Your SEPA")
Example #2
0
def test_new_member_info_sepa_without_mandate(member):
    assert new_member_mail_info_sepa(member, None) == ""
Example #3
0
def test_new_member_info_sepa(member_with_sepa_profile):
    assert any(
        str(new_member_mail_info_sepa(member_with_sepa_profile,
                                      None)).startswith(s)
        for s in ["Your SEPA", "Deine SEPA"])