aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
diff options
context:
space:
mode:
authorzsloan2021-03-16 19:12:48 +0000
committerzsloan2021-03-16 19:12:48 +0000
commit8ca8eb18ed8aa35177008bb92d805b9d603aec66 (patch)
treeac0bc4fa76307de8e60892b6e29c1ea0bf4e5d24 /wqflask/tests
parent73969bce6019666feff8c2ddb07c57aadd78c24d (diff)
downloadgenenetwork2-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')
-rw-r--r--wqflask/tests/unit/utility/test_authentication_tools.py2
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: