Beispiel #1
0
 def test_with_default(self, dict_type, data, key, default):
     proxy = Cut(dict_type(data))
     assert proxy.get(key, default) == default
Beispiel #2
0
 def test_get(self, dict_type, data, key, result):
     proxy = Cut(dict_type(data))
     assert proxy.get(key) == result