diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-06 15:44:45 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 15:44:45 +0530 |
commit | 62a5ca363415b0f6f98785b6c3522a71fc895a72 (patch) | |
tree | 6fb829110658369321bab897707132f76f9b1b2c /app/tests/test_models.py | |
parent | 57207efe38174666d40964b74856537c6f5314ab (diff) | |
parent | 6595d53212eaa4b9319da7196f5e2286d30eb462 (diff) |
Merge pull request #1 from navanchauhan/deepsource-transform-10f49d7d
Format code with black
Diffstat (limited to 'app/tests/test_models.py')
-rw-r--r-- | app/tests/test_models.py | 16 |
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 |