diff options
Diffstat (limited to 'app/tests')
-rw-r--r-- | app/tests/test_models.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/tests/test_models.py b/app/tests/test_models.py new file mode 100644 index 0000000..513f332 --- /dev/null +++ b/app/tests/test_models.py @@ -0,0 +1,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
\ No newline at end of file |