def METHOD_NAME(client: TestClient):
    """Test case for upload_file
    uploads an image
    """
    headers = {
        "Authorization": "Bearer special-key",
    }
    data = {
        "additional_metadata": 'additional_metadata_example',
        "file": '/path/to/file'
    }
    response = client.request(
        "POST",
        "/pet/{petId}/uploadImage".format(petId=56),
        headers=headers,
        data=data,
    )
    # uncomment below to assert the status code of the HTTP response
    #assert response.status_code == 200