def METHOD_NAME(tmpdir):
    config = TriblerConfig(state_dir=tmpdir)
    config.general.log_dir = None
    state_dir = Path(tmpdir)
    assert config.general.get_path_as_absolute(property_name='log_dir', state_dir=state_dir) is None