aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_models.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-06 15:50:01 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-06 15:50:01 +0530
commitad073ba1ceb309881ff5cef0a80cf32baa825d03 (patch)
treed50537eb7663a4a9a3b99ea7906698657bc391f0 /app/tests/test_models.py
parent812220acbfd41aea0382fcd9a37a989a4b091d66 (diff)
parentaaa585e3c27b9b2789d54a93a7a9b3cd04e2cce8 (diff)
Merge branch 'master' of github.com:navanchauhan/SaaS-in-a-Flask
Diffstat (limited to 'app/tests/test_models.py')
-rw-r--r--app/tests/test_models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/tests/test_models.py b/app/tests/test_models.py
index c84df92..0beb3b9 100644
--- a/app/tests/test_models.py
+++ b/app/tests/test_models.py
@@ -4,6 +4,6 @@ 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
+ assert user.get_role() is None
+ assert user.get_team() is None
+ assert user.is_paid() is None