aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_models.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/tests/test_models.py')
-rw-r--r--app/tests/test_models.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/app/tests/test_models.py b/app/tests/test_models.py
index 513f332..c84df92 100644
--- a/app/tests/test_models.py
+++ b/app/tests/test_models.py
@@ -1,11 +1,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 \ No newline at end of file
+
+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