diff options
author | zsloan | 2021-03-16 19:12:48 +0000 |
---|---|---|
committer | zsloan | 2021-03-16 19:12:48 +0000 |
commit | 8ca8eb18ed8aa35177008bb92d805b9d603aec66 (patch) | |
tree | ac0bc4fa76307de8e60892b6e29c1ea0bf4e5d24 /wqflask/tests/unit | |
parent | 73969bce6019666feff8c2ddb07c57aadd78c24d (diff) | |
download | genenetwork2-8ca8eb18ed8aa35177008bb92d805b9d603aec66.tar.gz |
Fixed test_check_resource_availability_of_super_user to account for user_id being returned as bytes instead of a str
Diffstat (limited to 'wqflask/tests/unit')
-rw-r--r-- | wqflask/tests/unit/utility/test_authentication_tools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/tests/unit/utility/test_authentication_tools.py b/wqflask/tests/unit/utility/test_authentication_tools.py index fff5fd8f..42dcae88 100644 --- a/wqflask/tests/unit/utility/test_authentication_tools.py +++ b/wqflask/tests/unit/utility/test_authentication_tools.py @@ -18,7 +18,7 @@ class TestUser: @property def user_id(self): """Mockes user id. Used in Flask.g.user_session.user_id""" - return "Jane" + return b"Jane" class TestUserSession: |