diff --git a/tests/test_constants.py b/tests/test_constants.py index b3c0992..f848103 100644 --- a/tests/test_constants.py +++ b/tests/test_constants.py @@ -2,7 +2,6 @@ Tests for constants module. """ import os -import pytest from unittest.mock import patch import sys diff --git a/tests/test_dose_parsing.py b/tests/test_dose_parsing.py index bbf5c68..5efaba7 100644 --- a/tests/test_dose_parsing.py +++ b/tests/test_dose_parsing.py @@ -1,5 +1,4 @@ import pytest -from datetime import datetime import tkinter as tk from src.ui_manager import UIManager diff --git a/tests/test_init.py b/tests/test_init.py index 3abb93d..cd2e8b6 100644 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -2,7 +2,6 @@ Tests for init module. """ import os -import tempfile import pytest from unittest.mock import patch, Mock diff --git a/tests/test_logger.py b/tests/test_logger.py index 7d59050..dda2eee 100644 --- a/tests/test_logger.py +++ b/tests/test_logger.py @@ -3,9 +3,8 @@ Tests for logger module. """ import os import logging -import tempfile import pytest -from unittest.mock import patch, Mock +from unittest.mock import patch import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src')) diff --git a/tests/test_main.py b/tests/test_main.py index 3404c9e..457cc6d 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -4,7 +4,7 @@ Tests for the main application and MedTrackerApp class. import os import pytest import tkinter as tk -from unittest.mock import Mock, patch, MagicMock +from unittest.mock import Mock, patch import pandas as pd import sys diff --git a/tests/test_ui_manager.py b/tests/test_ui_manager.py index 9634253..5ff895c 100644 --- a/tests/test_ui_manager.py +++ b/tests/test_ui_manager.py @@ -5,8 +5,7 @@ import os import pytest import tkinter as tk from tkinter import ttk -from unittest.mock import Mock, patch, MagicMock -from datetime import datetime +from unittest.mock import Mock, patch import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', 'src'))