'warn_only=False, error(func=None) => calls abort()'

@with_patched_object(utils, 'abort', Fake('abort', callable=True, expect_call=True))
def test_error_aborts_if_warn_only_False_and_func_None(self):

    with settings(warn_only=False):
        error('foo')
