Skip to content

Commit f00f5af

Browse files
committed
FIX adapt fixtures in unit tests to less entities on the server
1 parent 4c87829 commit f00f5af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/tasks/test_task_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ def _check_task(self, task):
5252
def test_list_tasks_by_type(self):
5353
ttid=3
5454
tasks = openml.tasks.list_tasks(task_type_id=ttid)
55-
self.assertGreaterEqual(len(tasks), 300)
55+
self.assertGreaterEqual(len(tasks), 250)
5656
for tid in tasks:
5757
print(tasks[tid])
5858
self.assertEquals(ttid, tasks[tid]["ttid"])
5959
self._check_task(tasks[tid])
6060

6161
def test_list_tasks_by_tag(self):
6262
tasks = openml.tasks.list_tasks(tag='basic')
63-
self.assertGreaterEqual(len(tasks), 57)
63+
self.assertGreaterEqual(len(tasks), 50)
6464
for tid in tasks:
6565
self._check_task(tasks[tid])
6666

0 commit comments

Comments
 (0)