This commit is contained in:
Adriane Boyd 2023-06-02 10:59:33 +02:00
parent 2e3c5be192
commit b57b580c43

View File

@ -453,10 +453,9 @@ def test_config_overrides_registered_functions():
} }
}, },
) )
assert ( assert nlp_re2.config["components"]["attribute_ruler"]["scorer"][
nlp_re2.config["components"]["attribute_ruler"]["scorer"]["spans_key"] "spans_key"
== {"@misc": "test_some_other_key"} ] == {"@misc": "test_some_other_key"}
)
# run dummy evaluation (will return None scores) in order to test that # run dummy evaluation (will return None scores) in order to test that
# the spans_key value in the nested override is working as intended in # the spans_key value in the nested override is working as intended in
# the config # the config