def test_with_default(self, dict_type, data, key, default): proxy = Cut(dict_type(data)) assert proxy.get(key, default) == default
def test_get(self, dict_type, data, key, result): proxy = Cut(dict_type(data)) assert proxy.get(key) == result