diff options
| author | stilbruch <stilbruch@protonail.com> | 2022-05-04 18:13:20 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonail.com> | 2022-05-04 18:13:20 -0500 |
| commit | 6a92fe73a176164197706965c82ea98b08bbc2bd (patch) | |
| tree | b2ad6ba3ae765b35f8c50c491356ef4daadb4902 /app/tests/unit/test_user_model.py | |
| parent | cd14ca37470771042d05e2ece187acf568c41058 (diff) | |
| download | Strengthy-6a92fe73a176164197706965c82ea98b08bbc2bd.tar.xz Strengthy-6a92fe73a176164197706965c82ea98b08bbc2bd.zip | |
Fix tests
Diffstat (limited to 'app/tests/unit/test_user_model.py')
| -rwxr-xr-x | app/tests/unit/test_user_model.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/tests/unit/test_user_model.py b/app/tests/unit/test_user_model.py deleted file mode 100755 index 4b6c0b3..0000000 --- a/app/tests/unit/test_user_model.py +++ /dev/null @@ -1,11 +0,0 @@ -import tables -def test_new_user(): - """ - GIVEN a User model - WHEN a new User is created - THEN check that the email, hashed_password, and role fields are defined correctly - """ - user = User('gymdude99', 'bench400soon!', 'gymdude99@gmail.com') - assert user.email == 'gymdude99@gmail.com' - assert user.hashed_password != 'bench400soon!' - assert user.role == 'user' |
