diff options
Diffstat (limited to 'test/python/test_group_case_attributes.py')
| -rw-r--r-- | test/python/test_group_case_attributes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/python/test_group_case_attributes.py b/test/python/test_group_case_attributes.py index 71c933f..30c717c 100644 --- a/test/python/test_group_case_attributes.py +++ b/test/python/test_group_case_attributes.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(): @@ -49,7 +49,7 @@ class GroupCaseAttributesTest(ServerTestCase): response, body = self.get("/groups/BXD/case-attributes") self.assertEqual(response.status, 200) - case_attributes = json.loads(body) + case_attributes = envelope_data(body) self.assertEqual( case_attributes["names"], ["Epoch", "RRID", "SeqCvge", "Status"] ) @@ -71,7 +71,7 @@ class GroupCaseAttributesTest(ServerTestCase): response, body = self.get("/groups/LXS/case-attributes") self.assertEqual(response.status, 200) - case_attributes = json.loads(body) + case_attributes = envelope_data(body) self.assertEqual(case_attributes["names"], []) self.assertEqual(case_attributes["values"], []) |
