def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def stop(self):
        self._patcher.stop()
        self._patcher2.stop()
        self._server_mock = None