def METHOD_NAME(topology):
    """Test instance deletion
    Check status before and after
    Try to add a user
    """
    log.info('Check instance state is offline')
    assert topology.instance.state == DIRSRV_STATE_OFFLINE
    topology.instance.delete()
    log.info('Check instance state is allocated')
    assert topology.instance.state == DIRSRV_STATE_ALLOCATED
    log.info('Try to add user. Failure is excpected')
    with pytest.raises(Exception):
        _add_user(topology)