'Verify exception is raised if invalid token.'

def test_auth_bad_formatted_token(self):

    body_dict = _build_user_auth(token={})
    self.assertRaises(exception.ValidationError, self.controller.authenticate, self.make_request(), body_dict)
