(self)
| 512 | |
| 513 | @pytest.mark.integration |
| 514 | def test_HubDatasetModuleFactory(self): |
| 515 | factory = HubDatasetModuleFactory( |
| 516 | SAMPLE_DATASET_IDENTIFIER2, commit_hash=SAMPLE_DATASET_COMMIT_HASH2, download_config=self.download_config |
| 517 | ) |
| 518 | module_factory_result = factory.get_module() |
| 519 | assert importlib.import_module(module_factory_result.module_path) is not None |
| 520 | assert module_factory_result.builder_kwargs["base_path"].startswith("hf://") |
| 521 | |
| 522 | @pytest.mark.integration |
| 523 | def test_HubDatasetModuleFactory_with_data_dir(self): |
nothing calls this directly
no test coverage detected