FUCK PYTHON
This commit is contained in:
@@ -7,7 +7,7 @@ import os
|
||||
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
||||
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "src")))
|
||||
|
||||
from gui_2 import App
|
||||
from src.gui_2 import App
|
||||
|
||||
def test_new_hubs_defined_in_show_windows(mock_app: App) -> None:
|
||||
"""
|
||||
@@ -40,7 +40,7 @@ def test_old_windows_removed_from_gui2(app_instance_simple: Any) -> None:
|
||||
@pytest.fixture
|
||||
def app_instance_simple() -> Any:
|
||||
from unittest.mock import patch
|
||||
from gui_2 import App
|
||||
from src.gui_2 import App
|
||||
with patch('src.models.load_config', return_value={'ai': {}, 'projects': {}, 'gui': {'show_windows': {}}}), \
|
||||
patch('src.app_controller.AppController._init_ai_and_hooks'), \
|
||||
patch('src.app_controller.AppController._fetch_models'), \
|
||||
|
||||
Reference in New Issue
Block a user