def success(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "green")
    click.secho(message, **kwargs)
def test_ccode_settings():
    raises(TypeError, lambda: ccode(sin(x), method="garbage"))