Skip to content

Commit f737cb1

Browse files
committed
bug fix
1 parent b41a9b2 commit f737cb1

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
if: matrix.os == 'ubuntu-latest'
126126
env:
127127
OPENML_TEST_SERVER_ADMIN_KEY: ${{ secrets.OPENML_TEST_SERVER_ADMIN_KEY }}
128+
OPENML_USE_LOCAL_SERVICES: "true"
128129
run: |
129130
if [ "${{ matrix.code-cov }}" = "true" ]; then
130131
codecov="--cov=openml --long --cov-report=xml"

openml/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
OPENML_TEST_SERVER_ADMIN_KEY_ENV_VAR = "OPENML_TEST_SERVER_ADMIN_KEY"
2929
_TEST_SERVER_NORMAL_USER_KEY = "normaluser"
3030

31-
TEST_SERVER_URL = "http://localhost:8000"
31+
TEST_SERVER_URL = "https://test.openml.org"
3232

3333

3434
class _Config(TypedDict):

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ def with_test_cache(test_files_directory, request):
297297
openml.config.set_root_cache_directory(_root_cache_directory)
298298
if tmp_cache.exists():
299299
shutil.rmtree(tmp_cache)
300-
301300

301+
302302
@pytest.fixture
303303
def static_cache_dir():
304304
return Path(__file__).parent / "files"

0 commit comments

Comments
 (0)