Skip to content

Commit 9604a77

Browse files
committed
Remove unnecessary additions to path
1 parent ffcd077 commit 9604a77

File tree

6 files changed

+0
-14
lines changed

6 files changed

+0
-14
lines changed

AddonManagerTest/app/test_cache.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
from unittest import TestCase
2828
from unittest.mock import MagicMock, patch
2929

30-
sys.path.append("../..")
31-
3230
import addonmanager_cache as cache
3331
from AddonManagerTest.app.mocks import MockPref, MockExists
3432

AddonManagerTest/app/test_installer.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
from zipfile import ZipFile
3232
import sys
3333

34-
sys.path.append("../../") # So the IDE can find the imports below
35-
3634
from addonmanager_installer import InstallationMethod, AddonInstaller, MacroInstaller
3735
from addonmanager_git import GitManager, initialize_git
3836
from addonmanager_metadata import MetadataReader

AddonManagerTest/app/test_macro.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
import unittest
2929
from unittest.mock import MagicMock
3030

31-
sys.path.append("../../") # So the IDE can find the
32-
3331
from addonmanager_macro import Macro
3432

3533

AddonManagerTest/app/test_macro_parser.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
import sys
2929
import unittest
3030

31-
sys.path.append("../../") # So the IDE can find the classes to run with
32-
3331
from addonmanager_macro_parser import MacroParser
3432
from AddonManagerTest.app.mocks import MockConsole, CallCatcher, MockThread
3533

AddonManagerTest/app/test_metadata.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828

2929
Mock = mock.MagicMock
3030

31-
sys.path.append("../../")
32-
3331

3432
class TestVersion(unittest.TestCase):
3533
def setUp(self) -> None:

AddonManagerTest/gui/test_python_deps_gui.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
from PySide2 import QtCore, QtWidgets
1515

1616

17-
sys.path.append(
18-
"../.."
19-
) # So that when run standalone, the Addon Manager classes imported below are available
20-
2117
from addonmanager_python_deps_gui import (
2218
PythonPackageManager,
2319
call_pip,

0 commit comments

Comments
 (0)