diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-07 13:52:20 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-07 13:52:20 +0530 |
commit | 359813517e3382c527125fe673fa89f0fd0742c0 (patch) | |
tree | 5010e2427cf0d19e7365e44fac40612375c135c9 /app/tests/test_models.py | |
parent | b752efffe410c9cc9cd53f8c50a5fb9f75069e93 (diff) |
added docstrings
Diffstat (limited to 'app/tests/test_models.py')
-rw-r--r-- | app/tests/test_models.py | 7 |
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 |