Exemple #1
0
def test_prepend_with_settings():
    s = Settings({'foo': 'hidden'})
    s.prepend(Settings({'foo': 'override'}))

    assert len(s.maps) == 2
    assert s['foo'] == 'override'
Exemple #2
0
def test_prepend_with_settings():
    s = Settings({"foo": "hidden"})
    s.prepend(Settings({"foo": "override"}))

    assert len(s.maps) == 2
    assert s["foo"] == "override"