File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,10 +155,13 @@ def test_publish_flow(self):
155155
156156 def test_semi_legal_flow (self ):
157157 # TODO: Test if parameters are set correctly!
158+ sentinel = get_sentinel ()
158159 semi_legal = sklearn .ensemble .BaggingClassifier (
159160 base_estimator = sklearn .ensemble .BaggingClassifier (
160161 base_estimator = sklearn .tree .DecisionTreeClassifier ()))
161162 flow = openml .flows .sklearn_to_flow (semi_legal )
163+ flow .name = 'TEST%s%s' % (sentinel , flow .name )
164+
162165 flow .publish ()
163166
164167 def test_illegal_flow (self ):
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ def test__run_task_get_arffcontent(self):
141141 'Iris-virginica' ])
142142
143143 def test_get_run (self ):
144+ # this run is not available on test
145+ openml .config .server = self .production_server
144146 run = openml .runs .get_run (473350 )
145147 self .assertEqual (run .dataset_id , 1167 )
146148 self .assertEqual (run .evaluations ['f_measure' ], 0.624668 )
You can’t perform that action at this time.
0 commit comments