From 946a0a7bc8ab7ccffea2def90821dac7a54aa6b8 Mon Sep 17 00:00:00 2001 From: Matt L <124107509+mattjala@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:03:46 -0600 Subject: [PATCH] Fix CreateOrder option in group/link tests (#412) --- tests/integ/group_test.py | 4 ++-- tests/integ/link_test.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integ/group_test.py b/tests/integ/group_test.py index 800ca1b5..7a832271 100755 --- a/tests/integ/group_test.py +++ b/tests/integ/group_test.py @@ -435,7 +435,7 @@ def testPostWithCreationProps(self): req = endpoint + "/groups" # create a new group - creation_props = {"link_creation_order": True, "rdcc_nbytes": 1024} + creation_props = {"CreateOrder": True, "rdcc_nbytes": 1024} payload = {"creationProperties": creation_props} rsp = self.session.post(req, data=json.dumps(payload), headers=headers) self.assertEqual(rsp.status_code, 201) @@ -457,7 +457,7 @@ def testPostWithCreationProps(self): self.assertTrue("domain" in rspJson) self.assertTrue("creationProperties" in rspJson) cprops = rspJson["creationProperties"] - for k in ("link_creation_order", "rdcc_nbytes"): + for k in ("CreateOrder", "rdcc_nbytes"): self.assertTrue(k in cprops) self.assertEqual(cprops[k], creation_props[k]) self.assertEqual(rspJson["domain"], self.base_domain) diff --git a/tests/integ/link_test.py b/tests/integ/link_test.py index a94a789e..2d99ce4a 100755 --- a/tests/integ/link_test.py +++ b/tests/integ/link_test.py @@ -1037,7 +1037,7 @@ def testRelativeH5Path(self): def testRootH5Path(self): # test that root group can be found by h5path - creation_props = {"link_creation_order": True, "rdcc_nbytes": 1024} + creation_props = {"CreateOrder": True, "rdcc_nbytes": 1024} domain = self.base_domain + "/testRootH5Path.h5" print("testRootH5Path", domain) helper.setupDomain(domain, root_gcpl=creation_props) @@ -1067,7 +1067,7 @@ def testRootH5Path(self): self.assertEqual(rspJson["class"], "group") cprops = rspJson["creationProperties"] - for k in ("link_creation_order", "rdcc_nbytes"): + for k in ("CreateOrder", "rdcc_nbytes"): self.assertTrue(k in cprops) self.assertEqual(cprops[k], creation_props[k])