aboutsummaryrefslogtreecommitdiff
path: root/wqflask/tests
diff options
context:
space:
mode:
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 6d817f5e..fff5fd8f 100644
--- a/wqflask/tests/unit/utility/test_authentication_tools.py
+++ b/wqflask/tests/unit/utility/test_authentication_tools.py
@@ -89,7 +89,7 @@ class TestCheckResourceAvailability(unittest.TestCase):
requests_mock):
"""Test the resource availability if the user is the super user"""
resource_id_mock.return_value = 1
- redis_mock.smembers.return_value = ["Jane"]
+ redis_mock.smembers.return_value = [b"Jane"]
add_new_resource_mock.return_value = {"default_mask": 2}
requests_mock.return_value = TestResponse()
test_dataset = mock.MagicMock()