Skip to content

Commit 00943ce

Browse files
committed
added a test
1 parent 37b95bd commit 00943ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_evaluations/test_evaluation_functions.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,10 @@ def test_evaluation_list_filter_uploader(self):
2727
self.assertGreater(len(evaluations), 100)
2828
# for run_id in evaluations.keys():
2929
# self.assertEquals(evaluations[run_id].uploader, uploader_id)
30+
31+
32+
def test_evaluation_list_limit(self):
33+
openml.config.server = self.production_server
34+
35+
evaluations = openml.evaluations.list_evaluations("predictive_accuracy", size=100, offset=100)
36+
self.assertEquals(len(evaluations), 100)

0 commit comments

Comments
 (0)