Added cron field to database
This commit is contained in:
@@ -18,3 +18,10 @@ def test_check_password():
|
||||
hashed = hash_password("password")
|
||||
assert check_password(hashed, "password".encode("utf-8")) is True
|
||||
assert check_password(hashed, "password1".encode("utf-8")) is False
|
||||
|
||||
|
||||
def test_get_email_from_token():
|
||||
"""
|
||||
Test get_email_from_token function
|
||||
"""
|
||||
assert get_email_from_token_data(None) is None
|
||||
|
Reference in New Issue
Block a user