Skip to content

Commit 5cdc0ad

Browse files
committed
correct the url
Signed-off-by: Omswastik-11 <omswastikpanda11@gmail.com>
1 parent ad05cd3 commit 5cdc0ad

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_runs/test_run_functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,7 @@ def test_initialize_model_from_run_nonstrict(self):
18101810
@mock.patch.object(requests.Session, "request")
18111811
def test_delete_run_not_owned(mock_delete, test_files_directory, test_api_key):
18121812
openml.config.start_using_configuration_for_example()
1813-
content_file = test_files_directory / "mock_responses" / "runs" / "run_delete_not_owned.xml"
1813+
content_file = test_files_directory / "mock_responses" / "xml" / "runs" / "run_delete_not_owned.xml"
18141814
mock_delete.return_value = create_request_response(
18151815
status_code=412,
18161816
content_filepath=content_file,
@@ -1832,7 +1832,7 @@ def test_delete_run_not_owned(mock_delete, test_files_directory, test_api_key):
18321832
@mock.patch.object(requests.Session, "request")
18331833
def test_delete_run_success(mock_delete, test_files_directory, test_api_key):
18341834
openml.config.start_using_configuration_for_example()
1835-
content_file = test_files_directory / "mock_responses" / "runs" / "run_delete_successful.xml"
1835+
content_file = test_files_directory / "mock_responses" / "xml" / "runs" / "run_delete_successful.xml"
18361836
mock_delete.return_value = create_request_response(
18371837
status_code=200,
18381838
content_filepath=content_file,
@@ -1851,7 +1851,7 @@ def test_delete_run_success(mock_delete, test_files_directory, test_api_key):
18511851
@mock.patch.object(requests.Session, "request")
18521852
def test_delete_unknown_run(mock_delete, test_files_directory, test_api_key):
18531853
openml.config.start_using_configuration_for_example()
1854-
content_file = test_files_directory / "mock_responses" / "runs" / "run_delete_not_exist.xml"
1854+
content_file = test_files_directory / "mock_responses" / "xml" / "runs" / "run_delete_not_exist.xml"
18551855
mock_delete.return_value = create_request_response(
18561856
status_code=412,
18571857
content_filepath=content_file,

0 commit comments

Comments
 (0)