@pytest.fixture
def file_factory(tmp_path_factory):
    from rucio.tests.temp_factories import TemporaryFileFactory
    with TemporaryFileFactory(pytest_path_factory=tmp_path_factory) as factory:
        (yield factory)
@pytest.fixture
def file_factory(tmp_path_factory):
    from rucio.tests.temp_factories import TemporaryFileFactory
    with TemporaryFileFactory(pytest_path_factory=tmp_path_factory) as factory:
        (yield factory)