Skip to content

Commit 36c22aa

Browse files
committed
skip delete flows tests
1 parent 860b1b6 commit 36c22aa

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/test_flows/test_flow_functions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ def test_get_flow_id(self):
427427
assert flow_ids_exact_version_True == flow_ids_exact_version_False
428428

429429
@pytest.mark.uses_test_server()
430+
@pytest.mark.skip(reason="Delete flow tests temporarily skipped")
430431
def test_delete_flow(self):
431432
flow = openml.OpenMLFlow(
432433
name="sklearn.dummy.DummyClassifier",
@@ -450,6 +451,7 @@ def test_delete_flow(self):
450451

451452

452453
@mock.patch.object(requests.Session, "delete")
454+
@pytest.mark.skip(reason="Delete flow tests temporarily skipped")
453455
def test_delete_flow_not_owned(mock_delete, test_files_directory, test_api_key):
454456
openml.config.start_using_configuration_for_example()
455457
content_file = test_files_directory / "mock_responses" / "flows" / "flow_delete_not_owned.xml"
@@ -470,6 +472,7 @@ def test_delete_flow_not_owned(mock_delete, test_files_directory, test_api_key):
470472

471473

472474
@mock.patch.object(requests.Session, "delete")
475+
@pytest.mark.skip(reason="Delete flow tests temporarily skipped")
473476
def test_delete_flow_with_run(mock_delete, test_files_directory, test_api_key):
474477
openml.config.start_using_configuration_for_example()
475478
content_file = test_files_directory / "mock_responses" / "flows" / "flow_delete_has_runs.xml"
@@ -490,6 +493,7 @@ def test_delete_flow_with_run(mock_delete, test_files_directory, test_api_key):
490493

491494

492495
@mock.patch.object(requests.Session, "delete")
496+
@pytest.mark.skip(reason="Delete flow tests temporarily skipped")
493497
def test_delete_subflow(mock_delete, test_files_directory, test_api_key):
494498
openml.config.start_using_configuration_for_example()
495499
content_file = test_files_directory / "mock_responses" / "flows" / "flow_delete_is_subflow.xml"
@@ -510,6 +514,7 @@ def test_delete_subflow(mock_delete, test_files_directory, test_api_key):
510514

511515

512516
@mock.patch.object(requests.Session, "delete")
517+
@pytest.mark.skip(reason="Delete flow tests temporarily skipped")
513518
def test_delete_flow_success(mock_delete, test_files_directory, test_api_key):
514519
openml.config.start_using_configuration_for_example()
515520
content_file = test_files_directory / "mock_responses" / "flows" / "flow_delete_successful.xml"
@@ -527,6 +532,7 @@ def test_delete_flow_success(mock_delete, test_files_directory, test_api_key):
527532

528533

529534
@mock.patch.object(requests.Session, "delete")
535+
@pytest.mark.skip(reason="Delete flow tests temporarily skipped")
530536
def test_delete_unknown_flow(mock_delete, test_files_directory, test_api_key):
531537
openml.config.start_using_configuration_for_example()
532538
content_file = test_files_directory / "mock_responses" / "flows" / "flow_delete_not_exist.xml"

0 commit comments

Comments
 (0)