blob: 513f332e4cd0c70aecc383fd7b680cf02920ee40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|