Simplify test code where a dataset is set as gated #3063
Labels
dependencies
Pull requests that update a dependency file
good first issue
Good for newcomers
refactoring / architecture
tests
[email protected] provides an API to set a repository as gated.
We had included a custom version of
update_repo_settings
because it lacked agated
parameter. Now we can switch back to thehuggingface_hub
methoddataset-viewer/jobs/cache_maintenance/tests/utils.py
Line 41 in 4859100
dataset-viewer/services/admin/tests/fixtures/hub.py
Line 24 in 4859100
dataset-viewer/services/worker/tests/fixtures/hub.py
Line 35 in 4859100
The text was updated successfully, but these errors were encountered: