blob: c84df92b653bcdba5f2d0298a73ab8d20b92de3b (
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() == None
assert user.get_team() == None
assert user.is_paid() == None
|