This commit is contained in:
Xi Yan 2024-11-07 11:11:27 -08:00
parent 3322aa9ee4
commit 93995ecc4c
4 changed files with 54 additions and 2 deletions

View file

@ -31,7 +31,20 @@ def datasetio_meta_reference() -> ProviderFixture:
)
DATASETIO_FIXTURES = ["meta_reference", "remote"]
@pytest.fixture(scope="session")
def datasetio_huggingface() -> ProviderFixture:
return ProviderFixture(
providers=[
Provider(
provider_id="huggingface",
provider_type="huggingface",
config={},
)
],
)
DATASETIO_FIXTURES = ["meta_reference", "remote", "huggingface"]
@pytest_asyncio.fixture(scope="session")