about summary refs log tree commit diff
path: root/test/python/auth_helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/auth_helpers.py')
-rw-r--r--test/python/auth_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/python/auth_helpers.py b/test/python/auth_helpers.py
index 8b3e80d..091c823 100644
--- a/test/python/auth_helpers.py
+++ b/test/python/auth_helpers.py
@@ -50,7 +50,7 @@ def auth_token():
         conn.request("POST", "/get-test-token")
         response = conn.getresponse()
         if response.status == 200:
-            return json.loads(response.read())["access_token"]
+            return json.loads(response.read())["data"]["access_token"]
     except OSError:
         pass
     finally: