chore: apply ruff auto-fixes and remove dead AST scripts
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import pytest
|
||||
from unittest.mock import MagicMock, patch
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
# We can safely import gui_2 if we don't instantiate App without mocking its threads
|
||||
import gui_2
|
||||
from gui_2 import App
|
||||
|
||||
@pytest.fixture
|
||||
@@ -69,8 +67,8 @@ def test_render_log_management_logic(app_instance: App) -> None:
|
||||
patch("gui_2.imgui.begin") as mock_begin, \
|
||||
patch("gui_2.imgui.begin_table") as mock_begin_table, \
|
||||
patch("gui_2.imgui.text") as mock_text, \
|
||||
patch("gui_2.imgui.end_table") as mock_end_table, \
|
||||
patch("gui_2.imgui.end") as mock_end, \
|
||||
patch("gui_2.imgui.end_table"), \
|
||||
patch("gui_2.imgui.end"), \
|
||||
patch("gui_2.imgui.push_style_color"), \
|
||||
patch("gui_2.imgui.pop_style_color"), \
|
||||
patch("gui_2.imgui.table_setup_column"), \
|
||||
|
||||
Reference in New Issue
Block a user