blob: 0beb3b93ab299cf3787e2bdcde8d37cc4e5cd131 (
plain)
1
2
3
4
5
6
7
8
9
|
from app.models import User
def test_usermodel(app, client):
user = User(first_name="John", email="test@example.com", password="pass")
assert user.full_name == "John None"
assert user.get_role() is None
assert user.get_team() is None
assert user.is_paid() is None
|