First Config
This commit is contained in:
@@ -674,15 +674,15 @@ def non_regression_check(output_requests, old_requests_filename):
|
||||
|
||||
checked_fields = [(f[0], f[1], f[2], f[3]) for f in all_fields_list if f[4]]
|
||||
|
||||
inclusion_matches = False
|
||||
request_matches = False
|
||||
if bloc_scope == "all":
|
||||
if len(changed_fields) > 0 and len(checked_fields) == len(changed_fields):
|
||||
inclusion_matches = True
|
||||
request_matches = True
|
||||
else: # bloc_scope == "any"
|
||||
if len(checked_fields) > 0:
|
||||
inclusion_matches = True
|
||||
request_matches = True
|
||||
|
||||
if inclusion_matches:
|
||||
if request_matches:
|
||||
matching_requests_count += 1
|
||||
if debug_mode and checked_fields:
|
||||
field_changes = [(f"{gn}.{fn}", ov, nv) for gn, fn, ov, nv in checked_fields]
|
||||
|
||||
Reference in New Issue
Block a user