Reduce conversion memory footprint
This commit is contained in:
@@ -16,7 +16,7 @@ def test_filter_records_supports_case_insensitive_filters():
|
||||
mode="vendor",
|
||||
)
|
||||
|
||||
filtered = filter_records(records, options)
|
||||
filtered = list(filter_records(records, options))
|
||||
|
||||
assert filtered == [{"policy": "ProdPolicy", "severity_level": "HIGH"}]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user