Run ruff format changes and finalize indentation and lint fixes.
This commit is contained in:
@@ -3,18 +3,23 @@
|
||||
Integration test for TheChart export system
|
||||
Tests the complete export workflow without GUI dependencies
|
||||
"""
|
||||
# ruff: noqa: E402
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Add src to path
|
||||
sys.path.insert(0, "src")
|
||||
# Ensure the 'src' directory is on sys.path so 'thechart' package is importable
|
||||
SRC_DIR = Path(__file__).resolve().parent.parent / "src"
|
||||
if str(SRC_DIR) not in sys.path:
|
||||
sys.path.insert(0, str(SRC_DIR))
|
||||
|
||||
from data_manager import DataManager
|
||||
from export_manager import ExportManager
|
||||
from init import logger
|
||||
from medicine_manager import MedicineManager
|
||||
from pathology_manager import PathologyManager
|
||||
from thechart.core.constants import LOG_LEVEL
|
||||
from thechart.core.logger import init_logger
|
||||
from thechart.data import DataManager
|
||||
from thechart.export import ExportManager
|
||||
from thechart.managers import MedicineManager, PathologyManager
|
||||
|
||||
logger = init_logger(__name__, testing_mode=(LOG_LEVEL == "DEBUG"))
|
||||
|
||||
|
||||
class MockGraphManager:
|
||||
|
||||
Reference in New Issue
Block a user