Files
notifications-admin/tests/app/main/test_encyption.py
Rebecca Law 7f96ef5a25 108536490: Initial effort to implement log in
Add endpoint for post to /sign-in
Initialise role data
2015-12-01 10:00:06 +00:00

10 lines
200 B
Python

from app.main import encryption
def test_encryption(notifications_admin):
value = 's3curePassword!'
encrypted = encryption.encrypt(value)
assert encrypted == encryption.encrypt(value)