about summary refs log tree commit diff
path: root/gn_auth/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/wsgi.py')
-rw-r--r--gn_auth/wsgi.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/gn_auth/wsgi.py b/gn_auth/wsgi.py
index 4fc9bd0..d908831 100644
--- a/gn_auth/wsgi.py
+++ b/gn_auth/wsgi.py
@@ -434,9 +434,14 @@ def create_test_oauth2_client(session_timestamp, users_file, owner_role,
                 f"Owner user {owner_record['user_id']!r} not found in DB",
                 file=sys.stderr)
             sys.exit(1)
-        record = __create_one_client__(conn, client_name, owner, scopes=(
-            "profile", "group", "role", "resource",
-            "register-client", "user", "masquerade"))
+        record = __create_one_client__(
+            conn,
+            client_name,
+            owner,
+            tuple(),
+            scopes=(
+                "profile", "group", "role", "resource",
+                "register-client", "user", "masquerade"))
 
     __write_output__(
         {"session_timestamp": session_timestamp, "client": record},