Skip to content
Snippets Groups Projects
Commit ec68b432 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: Test name collision between regular setting and selector

parent 8083b839
No related branches found
No related tags found
1 merge request!3BIP configuration system
......@@ -139,6 +139,14 @@ def test_Config_resolve_selectors():
assert result[k] == v
# selector/setting conflict - probably
# invalid, but function shouold not crash
indict = {'subject' : '12345', 'param1' : '1'}
selectors = {'subject' : '12345'}
result = config.Config.resolve_selectors(indict, selectors)
assert dicts_equal(indict, result)
def test_Config_load_config_file():
configtoml = tw.dedent("""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment