Refactor and clean up codebase by removing unused functions and reorganizing imports
- Removed unused model keys and functions from properties.py. - Deleted projection.py as its functions were no longer needed. - Cleaned up model_catalog.py by removing unused model directory function. - Updated imports in various test files to reflect new module structure. - Removed deprecated test cases related to image editing tools. - Added new tests for ONNX runtime provider selection logic.
This commit is contained in:
@@ -64,10 +64,10 @@ class ClipboardImageTest(unittest.TestCase):
|
||||
operators.__path__ = [str(PROJECT_ROOT / "src" / "anyimage" / "operators")]
|
||||
sys.modules["anyimage.operators"] = operators
|
||||
cls.addon.clipboard_image = importlib.import_module(
|
||||
"anyimage.operators.clipboard_image"
|
||||
"anyimage.operators.clipboard_image.operators"
|
||||
)
|
||||
cls.actions = cls.addon.clipboard_image.actions
|
||||
cls.clipboard = cls.addon.clipboard_image.clipboard
|
||||
cls.actions = importlib.import_module("anyimage.operators.clipboard_image.actions")
|
||||
cls.clipboard = importlib.import_module("anyimage.operators.clipboard_image.clipboard")
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
||||
Reference in New Issue
Block a user