Exemple #1
0
def test_verify_account_email_is_invalid():
    # 4.1.1.1 Email validation
    manager = AccountManager()
    assert manager.verify_email_address(
        'ton$gregexamplecom') == False, 'Email should not be valid'
Exemple #2
0
def test_verify_account_email_is_valid():
    # 4.1.1.1 Email validation
    manager = AccountManager()
    assert manager.verify_email_address(
        '*****@*****.**') == True, 'Email should be valid'