Skip to content

[MNT] Replace live server calls with mocks in test_api_calls#1700

Open
Sumitb09 wants to merge 1 commit intoopenml:mainfrom
Sumitb09:fix-mock-api-calls
Open

[MNT] Replace live server calls with mocks in test_api_calls#1700
Sumitb09 wants to merge 1 commit intoopenml:mainfrom
Sumitb09:fix-mock-api-calls

Conversation

@Sumitb09
Copy link

@Sumitb09 Sumitb09 commented Mar 6, 2026

This PR replaces live server calls with mocked requests in
tests/test_openml/test_api_calls.py.

The tests previously depended on the OpenML test server.
They now mock the requests layer to ensure deterministic
and faster unit tests.

Closes #1649

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MNT] Replace Live Server Calls with Mocks in Unit Tests

1 participant