7d056bfc33cf6e4f5bcc3cf165af64b4da30b23c,tests/datasets/test_datasets.py,TestOpenMLDataset,test_list_datasets_paginate,#TestOpenMLDataset#,103
Before Change
for dataset in data:
self.assertEqual(type(dataset), dict)
self.assertGreaterEqual(len(dataset), 2)
self.assertIn("did", dataset)
self.assertIsInstance(dataset["did"], int)
self.assertIn("status", dataset)
self.assertTrue(is_string(dataset["status"]))
self.assertIn(dataset["status"], ["in_preparation",
"active", "deactivated"])
@unittest.skip("See https://github.com/openml/openml-python/issues/149")
After Change
datasets = openml.datasets.list_datasets(offset=i, size=size)
self.assertGreaterEqual(size, len(datasets))
for did in datasets:
self._check_dataset(datasets[did])
@unittest.skip("See https://github.com/openml/openml-python/issues/149")
def test_check_datasets_active(self):
active = openml.datasets.check_datasets_active([1, 17])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: openml/openml-python
Commit Name: 7d056bfc33cf6e4f5bcc3cf165af64b4da30b23c
Time: 2016-09-02
Author: vanrijn@cs.uni-freiburg.de
File Name: tests/datasets/test_datasets.py
Class Name: TestOpenMLDataset
Method Name: test_list_datasets_paginate
Project Name: openml/openml-python
Commit Name: 7d056bfc33cf6e4f5bcc3cf165af64b4da30b23c
Time: 2016-09-02
Author: vanrijn@cs.uni-freiburg.de
File Name: tests/datasets/test_datasets.py
Class Name: TestOpenMLDataset
Method Name: test_list_datasets
Project Name: openml/openml-python
Commit Name: 7d056bfc33cf6e4f5bcc3cf165af64b4da30b23c
Time: 2016-09-02
Author: vanrijn@cs.uni-freiburg.de
File Name: tests/datasets/test_datasets.py
Class Name: TestOpenMLDataset
Method Name: test_list_datasets_paginate
Project Name: openml/openml-python
Commit Name: 7d056bfc33cf6e4f5bcc3cf165af64b4da30b23c
Time: 2016-09-02
Author: vanrijn@cs.uni-freiburg.de
File Name: tests/datasets/test_datasets.py
Class Name: TestOpenMLDataset
Method Name: test_list_datasets_by_tag