about summary refs log tree commit diff
path: root/test/python/test_group_datasets.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/test_group_datasets.py')
-rw-r--r--test/python/test_group_datasets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/python/test_group_datasets.py b/test/python/test_group_datasets.py
index f386d2c..c35b819 100644
--- a/test/python/test_group_datasets.py
+++ b/test/python/test_group_datasets.py
@@ -10,7 +10,7 @@ import socket
 import unittest
 
 from auth_helpers import TOKEN_ENV, auth_token
-from server_test_case import HOST, PORT, ServerTestCase
+from server_test_case import HOST, PORT, ServerTestCase, envelope_data
 
 
 def database_reachable():
@@ -43,7 +43,7 @@ class GroupDatasetsTest(ServerTestCase):
         response, body = self.get("/groups/BXD/datasets")
         self.assertEqual(response.status, 200)
 
-        datasets = json.loads(body)
+        datasets = envelope_data(body)
         self.assertTrue(datasets)
         names = {record["name"] for record in datasets}
         self.assertIn("Br_U_0803_M", names)