mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
Fixing failing tests
This commit is contained in:
parent
1dbb6e0d3f
commit
86676142c9
2 changed files with 4 additions and 2 deletions
|
|
@ -16,6 +16,8 @@ sys.path.insert(
|
|||
) # Adds the parent directory to the system path
|
||||
import pytest, logging, asyncio
|
||||
import litellm
|
||||
import litellm.proxy
|
||||
import litellm.proxy.proxy_server
|
||||
from litellm.proxy.management_endpoints.model_management_endpoints import (
|
||||
add_new_model,
|
||||
update_model,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
from unittest.mock import patch
|
||||
import pytest
|
||||
@pytest.mark.skip(reason="Very Flaky in CI, will debug later")
|
||||
import litellm.proxy
|
||||
import litellm.proxy.proxy_server
|
||||
def test_restructure_ui_html_files_skipped_in_non_root(monkeypatch):
|
||||
"""
|
||||
Test that _restructure_ui_html_files is SKIPPED when:
|
||||
|
|
@ -36,7 +37,6 @@ def test_restructure_ui_html_files_skipped_in_non_root(monkeypatch):
|
|||
# Verify it was NOT called
|
||||
mock_restructure.assert_not_called()
|
||||
|
||||
@pytest.mark.skip(reason="Very Flaky in CI, will debug later")
|
||||
def test_restructure_ui_html_files_NOT_skipped_locally(monkeypatch):
|
||||
"""
|
||||
Test that _restructure_ui_html_files is NOT skipped for local development
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue