Run ruff format changes and finalize indentation and lint fixes.
This commit is contained in:
@@ -2,16 +2,22 @@
|
||||
"""
|
||||
Test the complete dose tracking flow: load -> display -> add -> save
|
||||
"""
|
||||
# ruff: noqa: E402
|
||||
|
||||
import os
|
||||
import sys
|
||||
from datetime import datetime
|
||||
|
||||
# Add the src directory to Python path
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "src"))
|
||||
# Ensure the 'src' directory is on sys.path so 'thechart' package is importable
|
||||
SRC_DIR = os.path.join(os.path.dirname(__file__), "..", "src")
|
||||
if SRC_DIR not in sys.path:
|
||||
sys.path.insert(0, SRC_DIR)
|
||||
|
||||
from init import logger
|
||||
from ui_manager import UIManager
|
||||
from thechart.core.constants import LOG_LEVEL
|
||||
from thechart.core.logger import init_logger
|
||||
from thechart.ui import UIManager
|
||||
|
||||
logger = init_logger(__name__, testing_mode=(LOG_LEVEL == "DEBUG"))
|
||||
|
||||
|
||||
def test_dose_parsing():
|
||||
|
||||
Reference in New Issue
Block a user