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.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/tests/test_models.py b/app/tests/test_models.py
index 0beb3b9..23c17ad 100644
--- a/app/tests/test_models.py
+++ b/app/tests/test_models.py
@@ -1,7 +1,14 @@
+# -*- coding: utf-8 -*-
+"""
+Test(s) for Database Models
+"""
from app.models import User
def test_usermodel(app, client):
+ """
+ Test User Model
+ """
user = User(first_name="John", email="test@example.com", password="pass")
assert user.full_name == "John None"
assert user.get_role() is None