@util.use_cassette(path='photo_upload',
                   match_on=util.match_on_no_body)
def test_photo_upload():
    uploader = photo.PhotoUploader()
    upload_response_dict = uploader.upload_and_confirm('fixtures/image.jpg')
    assert int(upload_response_dict['id']) > 0
dataset/ETHPy150Open IvanMalison/okcupyd/tests/photo_test.py/test_photo_upload/original