def METHOD_NAME(admin, product_openstack):
    product_id = product_openstack["id"]
    url = "/api/v1/products/%s" % product_id
    assert product_openstack["name"] == "OpenStack"
    result = admin.put(
        url,
        data={"name": "New OpenStack", "label": "new-label"},
        headers={"If-match": product_openstack["etag"]},
    )
    assert result.status_code == 200
    assert result.data["product"]["name"] == "New OpenStack"
    assert result.data["product"]["label"] == "NEW-LABEL"
    assert result.data["product"]["description"] == "Red Hat OpenStack Platform"
    result = admin.put(
        url,
        data={"description": "new product"},
        headers={"If-match": result.data["product"]["etag"]},
    )
    assert result.status_code == 200
    assert result.data["product"]["name"] == "New OpenStack"
    assert result.data["product"]["description"] == "new product"