island: Remove parameter names from UserCreds() init in tests

This commit is contained in:
Mike Salvatore 2021-05-04 17:21:05 -04:00
parent e4dec5501e
commit f73b048169
1 changed files with 2 additions and 2 deletions

View File

@ -29,12 +29,12 @@ def test_to_dict_empty_creds():
def test_to_dict_full_creds():
user_creds = UserCreds(username=TEST_USER, password_hash=TEST_HASH)
user_creds = UserCreds(TEST_USER, TEST_HASH)
assert user_creds.to_dict() == {"user": TEST_USER, "password_hash": TEST_HASH}
def test_to_auth_user_full_credentials():
user_creds = UserCreds(username=TEST_USER, password_hash=TEST_HASH)
user_creds = UserCreds(TEST_USER, TEST_HASH)
auth_user = user_creds.to_auth_user()
assert auth_user.id == 1
assert auth_user.username == TEST_USER