Skip to content

Commit f84bbad

Browse files
committed
Include change requests from Jan
1 parent 98aede1 commit f84bbad

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/test_evaluations/test_evaluation_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_evaluation_list_filter_task(self):
1616
for run_id in evaluations.keys():
1717
self.assertEquals(evaluations[run_id].task_id, task_id)
1818

19-
def test_evaluation_list_filter_uploader(self):
19+
def test_evaluation_list_filter_uploader_ID_16(self):
2020
openml.config.server = self.production_server
2121

2222
uploader_id = 16
@@ -25,7 +25,7 @@ def test_evaluation_list_filter_uploader(self):
2525

2626
self.assertGreater(len(evaluations), 100)
2727

28-
def test_evaluation_list_filter_uploader_2(self):
28+
def test_evaluation_list_filter_uploader_ID_10(self):
2929
openml.config.server = self.production_server
3030

3131
setup_id = 10

tests/test_runs/test_run_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,13 @@ def test_run_and_upload_logistic_regression(self):
329329
lr = LogisticRegression()
330330
self._run_and_upload(lr, '62501')
331331

332-
def test_run_and_upload_pipeline1(self):
332+
def test_run_and_upload_pipeline_dummy_pipeline(self):
333333

334334
pipeline1 = Pipeline(steps=[('scaler', StandardScaler(with_mean=False)),
335335
('dummy', DummyClassifier(strategy='prior'))])
336336
self._run_and_upload(pipeline1, '62501')
337337

338-
def test_run_and_upload_pipeline2(self):
338+
def test_run_and_upload_decision_tree_pipeline(self):
339339
pipeline2 = Pipeline(steps=[('Imputer', Imputer(strategy='median')),
340340
('VarianceThreshold', VarianceThreshold()),
341341
('Estimator', RandomizedSearchCV(

tests/test_setups/test_setup_functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,11 @@ def test_setuplist_offset(self):
141141
# TODO: remove after pull on live for better testing
142142
# openml.config.server = self.production_server
143143

144-
size = 100
144+
size = 10
145145
setups = openml.setups.list_setups(offset=0, size=size)
146146
self.assertEquals(len(setups), size)
147147
setups2 = openml.setups.list_setups(offset=size, size=size)
148-
self.assertEquals(len(setups), size)
148+
self.assertEquals(len(setups2), size)
149149

150150
all = set(setups.keys()).union(setups2.keys())
151151

0 commit comments

Comments
 (0)