File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,6 @@ def cbxp(
7373 )
7474 if response ["return_code" ]:
7575 raise CBXPError (response ["return_code" ], control_block )
76- if response ["result_json" ] == {} and filter_key != "" :
76+ if response ["result_json" ] == "null" and filter_key != "" :
7777 raise CBXPError (CBXPErrorCode .NO_FILTER_MATCH .value , control_block )
7878 return json .loads (response ["result_json" ])
Original file line number Diff line number Diff line change @@ -267,7 +267,8 @@ def test_cbxp_raises_cbxp_error_if_filter_uses_non_included_control_block(
267267 ):
268268 with self .assertRaises (CBXPError ) as e :
269269 cbxp (
270- "psa" , control_block_filter = {"cvt.asvt.ascb.assb.assbjbni" : "MASTER " }
270+ "psa" ,
271+ control_block_filter = {"cvt.asvt.ascb.assb.assbjbni" : "MASTER " },
271272 )
272273 self .assertEqual ("A bad filter was provided" , str (e .exception ))
273274
You can’t perform that action at this time.
0 commit comments