From 7a5d1f77cd7f26732e7260c549024d262f881871 Mon Sep 17 00:00:00 2001 From: Todor Ivanov Date: Wed, 25 Sep 2024 20:23:21 +0200 Subject: [PATCH] Unit tests --- test/python/WMCore_t/ReqMgr_t/Utils_t/Validation_t.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/python/WMCore_t/ReqMgr_t/Utils_t/Validation_t.py b/test/python/WMCore_t/ReqMgr_t/Utils_t/Validation_t.py index 5d70179234..6696d480b6 100644 --- a/test/python/WMCore_t/ReqMgr_t/Utils_t/Validation_t.py +++ b/test/python/WMCore_t/ReqMgr_t/Utils_t/Validation_t.py @@ -93,6 +93,7 @@ def testValidateRequestAllowedArgs(self): defReqArgs["RequestStatus"] = status expectedReqArgs = {key: None for key in get_modifiable_properties(status)} reqArgsDiff = _validate_request_allowed_args(defReqArgs, newReqArgs) + reqArgsDiff.pop("RequestStatus") print(f"reqArgsDiff: {reqArgsDiff}") print(f"expectedReqArgs: {expectedReqArgs}") self.assertDictEqual(reqArgsDiff, expectedReqArgs)