def METHOD_NAME():
    """ Thread local var for logs is removed after exiting the context. """
    with runtime.context() as ctx:
        runtime.log('fake_log', 'fake_value')
        assert ctx.logs()
    assert not hasattr(runtime._THREAD, 'logs')  # outside the context