Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 771 Bytes

CONTRIBUTING.md

File metadata and controls

15 lines (13 loc) · 771 Bytes

Contributing

Running the tests

The tests depend on the test.openml.org server. In the BaseTestFramework the api keys are defined of a couple of users. The client_write_test and client_admin_test do not have write / admin privileges on the test.openml.org server. Ideally we'd fix this by mocking the responses of the test-server.

Because this repo isn't very actively developed, I've quickly fixed this for now by giving temporary write/admin access to these api_keys. These commands can be used:

USE openml;
SELECT id FROM users WHERE session_hash = "[API_KEY]";
INSERT INTO users_groups (user_id, group_id) VALUES ([USER_ID_ADMIN], 1);  # admin access
INSERT INTO users_groups (user_id, group_id) VALUES ([USER_ID_WRITE], 2);  # member access