(self)
| 674 | |
| 675 | @pytest.mark.integration |
| 676 | def test_CachedDatasetModuleFactory(self): |
| 677 | name = SAMPLE_DATASET_IDENTIFIER2 |
| 678 | load_dataset_builder(name, cache_dir=self.cache_dir).download_and_prepare() |
| 679 | for offline_mode in OfflineSimulationMode: |
| 680 | with offline(offline_mode): |
| 681 | factory = CachedDatasetModuleFactory( |
| 682 | name, |
| 683 | cache_dir=self.cache_dir, |
| 684 | ) |
| 685 | module_factory_result = factory.get_module() |
| 686 | assert importlib.import_module(module_factory_result.module_path) is not None |
| 687 | |
| 688 | |
| 689 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected