mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-19 14:18:24 -04:00
import: always load testcommon from localmodule
Having this import before sys.path.insert() made it load testcommon from the Debian package.
This commit is contained in:
@@ -14,7 +14,6 @@ from unittest import mock
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
from testcommon import TmpCwd, mkdtemp
|
||||
|
||||
localmodule = Path(__file__).resolve().parent.parent
|
||||
print('localmodule: ' + str(localmodule))
|
||||
@@ -25,6 +24,7 @@ import fdroidserver.common
|
||||
import fdroidserver.import_subcommand
|
||||
import fdroidserver.metadata
|
||||
from fdroidserver.exception import FDroidException
|
||||
from testcommon import TmpCwd, mkdtemp
|
||||
|
||||
|
||||
class ImportTest(unittest.TestCase):
|
||||
|
||||
Reference in New Issue
Block a user