def METHOD_NAME(caplog):
    """Test decorator with no config on function with arguments"""
    @work_in_progress
    def foo(x):
        return x
    argument = 1
    with caplog.at_level(logging.WARN):
        result = foo(argument)
        assert any(
            re.search(expected_msg_wip, record.message) for record in caplog.records
        )
        assert argument == result