def METHOD_NAME() -> None:
    """
    Calling runtime.log() while outside of any instance of
    runtime.context() will raise a RuntimeError exception.
    """
    with pytest.raises(RuntimeError) as err:
        runtime.log('outside_of_context_manager', {'this': 'that'})
        assert err.value.args[0] == " calls to verta.runtime.log() must be made" \
                                    " within the scope of a model's predict() method."