def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def test_should_encode_positive_float(self):
        encoded = cypher_repr(123.456)
        assert encoded == u"123.456"