@util.use_cassette
def test_photo_info_upload(vcr_live_sleep):
    user = User()
    response = user.photo.upload_and_confirm(user.quickmatch().photo_infos[0])
    vcr_live_sleep(2)
    assert int(response['id']) in [pi.id for pi in user.profile.photo_infos]
dataset/ETHPy150Open IvanMalison/okcupyd/tests/photo_test.py/test_photo_info_upload/original