mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 05:29:38 -04:00
108536490: Initial effort to implement log in
Add endpoint for post to /sign-in Initialise role data
This commit is contained in:
9
tests/app/main/test_encyption.py
Normal file
9
tests/app/main/test_encyption.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from app.main import encryption
|
||||
|
||||
|
||||
def test_encryption(notifications_admin):
|
||||
value = 's3curePassword!'
|
||||
|
||||
encrypted = encryption.encrypt(value)
|
||||
|
||||
assert encrypted == encryption.encrypt(value)
|
||||
Reference in New Issue
Block a user