SIENTIAPDE-1097

Refactor filter configuration keys from 'POLICY' to 'policy' for consistency
This commit is contained in:
2025-06-10 11:51:27 -03:00
parent 98a931393b
commit 948fecc444
4 changed files with 11 additions and 10 deletions

View File

@@ -10,14 +10,14 @@ def test_filter_specific_variables_null_values():
assert filter_specific_variables_null_values(
DataFrame(
{'variable': ['variable1', 'variable2'], 'value': [1, 2]}),
config={'VARIABLES': ['variable2']}) is False
config={'variables': ['variable2']}) is False
def test_filter_specific_variables_null_values_with_null_values():
assert filter_specific_variables_null_values(
DataFrame(
{'variable': ['variable1', 'variable2'], 'value': [1, None]}),
config={'VARIABLES': ['variable2']}) is True
config={'variables': ['variable2']}) is True
def test_filter_empty_data():