def METHOD_NAME(self):
    """Test simple bind"""
    self._prepare()
    srv = Client(
        server="localhost",
        secret=self.shared_secret.encode(),
        dict=Dictionary("tests/radius-dictionary"),
    )
    req = srv.CreateAuthPacket(
        code=AccessRequest, User_Name=self.user.username, NAS_Identifier="localhost"
    )
    req["User-Password"] = req.PwCrypt(self.user.username)
    reply = srv.SendPacket(req)
    self.assertEqual(reply.code, AccessAccept)