@@ -47,7 +47,7 @@ def _check_flow(self, flow):
4747 )
4848 assert ext_version_str_or_none
4949
50- @pytest .mark .production ()
50+ @pytest .mark .production_server ()
5151 def test_list_flows (self ):
5252 self .use_production_server ()
5353 # We can only perform a smoke test here because we test on dynamic
@@ -58,7 +58,7 @@ def test_list_flows(self):
5858 for flow in flows .to_dict (orient = "index" ).values ():
5959 self ._check_flow (flow )
6060
61- @pytest .mark .production ()
61+ @pytest .mark .production_server ()
6262 def test_list_flows_output_format (self ):
6363 self .use_production_server ()
6464 # We can only perform a smoke test here because we test on dynamic
@@ -67,21 +67,21 @@ def test_list_flows_output_format(self):
6767 assert isinstance (flows , pd .DataFrame )
6868 assert len (flows ) >= 1500
6969
70- @pytest .mark .production ()
70+ @pytest .mark .production_server ()
7171 def test_list_flows_empty (self ):
7272 self .use_production_server ()
7373 flows = openml .flows .list_flows (tag = "NoOneEverUsesThisTag123" )
7474 assert flows .empty
7575
76- @pytest .mark .production ()
76+ @pytest .mark .production_server ()
7777 def test_list_flows_by_tag (self ):
7878 self .use_production_server ()
7979 flows = openml .flows .list_flows (tag = "weka" )
8080 assert len (flows ) >= 5
8181 for flow in flows .to_dict (orient = "index" ).values ():
8282 self ._check_flow (flow )
8383
84- @pytest .mark .production ()
84+ @pytest .mark .production_server ()
8585 def test_list_flows_paginate (self ):
8686 self .use_production_server ()
8787 size = 10
@@ -301,7 +301,7 @@ def test_sklearn_to_flow_list_of_lists(self):
301301 assert server_flow .parameters ["categories" ] == "[[0, 1], [0, 1]]"
302302 assert server_flow .model .categories == flow .model .categories
303303
304- @pytest .mark .production ()
304+ @pytest .mark .production_server ()
305305 def test_get_flow1 (self ):
306306 # Regression test for issue #305
307307 # Basically, this checks that a flow without an external version can be loaded
@@ -338,7 +338,7 @@ def test_get_flow_reinstantiate_model_no_extension(self):
338338 Version (sklearn .__version__ ) == Version ("0.19.1" ),
339339 reason = "Requires scikit-learn!=0.19.1, because target flow is from that version." ,
340340 )
341- @pytest .mark .production ()
341+ @pytest .mark .production_server ()
342342 def test_get_flow_with_reinstantiate_strict_with_wrong_version_raises_exception (self ):
343343 self .use_production_server ()
344344 flow = 8175
@@ -359,7 +359,7 @@ def test_get_flow_with_reinstantiate_strict_with_wrong_version_raises_exception(
359359 # Because scikit-learn dropped min_impurity_split hyperparameter in 1.0,
360360 # and the requested flow is from 1.0.0 exactly.
361361 )
362- @pytest .mark .production ()
362+ @pytest .mark .production_server ()
363363 def test_get_flow_reinstantiate_flow_not_strict_post_1 (self ):
364364 self .use_production_server ()
365365 flow = openml .flows .get_flow (flow_id = 19190 , reinstantiate = True , strict_version = False )
@@ -373,7 +373,7 @@ def test_get_flow_reinstantiate_flow_not_strict_post_1(self):
373373 reason = "Requires scikit-learn 0.23.2 or ~0.24." ,
374374 # Because these still have min_impurity_split, but with new scikit-learn module structure."
375375 )
376- @pytest .mark .production ()
376+ @pytest .mark .production_server ()
377377 def test_get_flow_reinstantiate_flow_not_strict_023_and_024 (self ):
378378 self .use_production_server ()
379379 flow = openml .flows .get_flow (flow_id = 18587 , reinstantiate = True , strict_version = False )
@@ -385,7 +385,7 @@ def test_get_flow_reinstantiate_flow_not_strict_023_and_024(self):
385385 Version (sklearn .__version__ ) > Version ("0.23" ),
386386 reason = "Requires scikit-learn<=0.23, because the scikit-learn module structure changed." ,
387387 )
388- @pytest .mark .production ()
388+ @pytest .mark .production_server ()
389389 def test_get_flow_reinstantiate_flow_not_strict_pre_023 (self ):
390390 self .use_production_server ()
391391 flow = openml .flows .get_flow (flow_id = 8175 , reinstantiate = True , strict_version = False )
0 commit comments