def METHOD_NAME(api):
    '''
    tests the  widget delete instance api.
    '''
    responses.add(responses.DELETE,
                  f'{RE_BASE}/dashboards/1/widgets/1',
                  json=None
                  )
    resp = api.widgets.delete(dashboard_id=1, widget_id=1)
    assert resp is None