def METHOD_NAME(tmpdir):
    config = TriblerConfig(state_dir=tmpdir)
    assert config.file.parent == tmpdir
    assert config.file.name == DEFAULT_CONFIG_NAME
    config = TriblerConfig.load(tmpdir)
    assert config.file.parent == tmpdir
    assert config.file.name == DEFAULT_CONFIG_NAME