108536490: Initial effort to implement log in

Add endpoint for post to /sign-in
Initialise role data
This commit is contained in:
Rebecca Law
2015-11-27 09:47:29 +00:00
parent 4d2b9c7fc2
commit 7f96ef5a25
17 changed files with 183 additions and 56 deletions

View 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)