def test_merge_list(self): config = Config({"foo": ["bar"]}) config.merge({"foo": ["baz"]}) assert config["foo"] == ["bar", "baz"]
def test_merge_with_dict(self): config = Config({"foo": "bar"}) config.merge({"foo": "baz"}) assert config["foo"] == "baz"