def test__get_cached_dataset(self, ): openml.config.set_cache_directory(self.static_cache_dir) dataset = _get_cached_dataset(2) features = _get_cached_dataset_features(2) self.assertIsInstance(dataset, OpenMLDataset) self.assertTrue(len(dataset.features) > 0) self.assertTrue(len(dataset.features) == len(features['oml:feature']))