def METHOD_NAME(self, pyramid_request):
    pyramid_request.params = {"remove": "acct:agnos@example.com"}
    result = staff_remove(pyramid_request)
    assert isinstance(result, httpexceptions.HTTPSeeOther)
    assert result.location == "/adm/staff"