def _email_is_trusted(email):
     return is_academic(email)
Exemple #2
0
def email_is_trusted(*, email):
    return is_academic(email)
Exemple #3
0
 def email_is_academic(self, instance):
     return is_academic(email=instance.email)
Exemple #4
0
 def signup_email_is_academic(self, instance):
     return is_academic(email=instance.signup_email)
def test_swot(expected, email):
    assert expected == is_academic(email)