From 359813517e3382c527125fe673fa89f0fd0742c0 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Mon, 7 Jun 2021 13:52:20 +0530 Subject: added docstrings --- app/tests/test_models.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/tests/test_models.py') 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 -- cgit v1.2.3