def test_delete():
    item_id = 1

    client, http = get_client_and_http()
    http.request = Mock(return_value=(None, None))

    result = client.Item.delete(item_id)

    eq_(None, result)
    http.request.assert_called_once_with("%s/item/%s?" % (URL_BASE, item_id),
                                         'DELETE',
                                         body=None,
                                         headers={})
dataset/ETHPy150Open podio/podio-py/tests/test_areas_item.py/test_delete/original