def test_parse_key_configurator_success(): c = {'patterns': ['*.py'], 'reduced_redundancy': True} configurator = parse.parse_key_configurator(c) assert configurator.effects_key('test.py') assert not configurator.effects_key('test.md') assert configurator.reduced_redundancy
def test_parse_key_configurator_invalid_kwarg(): parse.parse_key_configurator({'invalid': 'invalid'})