Example #1
0
 def test_call_valid(self):
     result1 = get_thumb_name('test.jpg', arg1=1, arg2=2)
     get_thumb_data(result1)
Example #2
0
 def test_call_invalid(self):
     with pytest.raises(KeyError):
         get_thumb_data('foobar.jpg')