mirror of
https://github.com/GSA/notifications-admin.git
synced 2025-12-10 07:03:12 -05:00
Removed unneeded test
This commit is contained in:
@@ -54,12 +54,7 @@ def check_axe_report(page):
|
||||
@pytest.fixture(autouse=True)
|
||||
def _mock_common_api_calls(mocker):
|
||||
# Patch the health check so it doesn't hit external endpoints
|
||||
mocker.patch("app.utils.api_health.check_api_is_running", return_value=True)
|
||||
|
||||
# If ping_json_endpoint is used directly instead
|
||||
mocker.patch(
|
||||
"app.utils.api_health.ping_json_endpoint", return_value={"status": "ok"}
|
||||
)
|
||||
mocker.patch("app.utils.api_health.is_api_down", return_value=False)
|
||||
|
||||
# Add more global mocks as needed, like:
|
||||
mocker.patch(
|
||||
|
||||
Reference in New Issue
Block a user