diff --git a/qa/tasks/tests/test_radosgw_admin.py b/qa/tasks/tests/test_radosgw_admin.py
index 4e86d5c2b52..8506eda7b1b 100644
--- a/qa/tasks/tests/test_radosgw_admin.py
+++ b/qa/tasks/tests/test_radosgw_admin.py
@@ -2,11 +2,11 @@ from unittest.mock import Mock
from tasks import radosgw_admin
-acl_with_version = """fooFoofooFooFULL_CONTROL
+acl_with_version = b"""fooFoofooFooFULL_CONTROL
""" # noqa
-acl_without_version = """fooFoofooFooFULL_CONTROL
+acl_without_version = b"""fooFoofooFooFULL_CONTROL
""" # noqa