Skip to content

Commit 5fdede8

Browse files
committed
increase runner
1 parent d509dfa commit 5fdede8

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
frontend-tests:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-latest-16-core
1111

1212
steps:
1313
- name: Checkout repo

api/tests/conftest.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,4 @@ def mock_csrf_needed(mocker, app):
5454

5555
@pytest.fixture
5656
def mock_disable_auth(mocker):
57-
mocker.patch.object(api.utils, 'DISABLE_AUTH', True)
58-
59-
from api import PclusterApiHandler
60-
@patch.dict('os.environ', {'API_BASE_URL': 'https://mocked-url.com'})
61-
def test_api_base_url():
62-
# Re-import or reload the module to pick up the new environment variable
63-
import importlib
64-
importlib.reload(PclusterApiHandler)
65-
66-
assert PclusterApiHandler.API_BASE_URL == 'https://mocked-url.com'
57+
mocker.patch.object(api.utils, 'DISABLE_AUTH', True)

0 commit comments

Comments
 (0)