mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03: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:
parent
1e5699e90c
commit
685efa23d4
6 changed files with 6 additions and 8 deletions
|
|
@ -10,7 +10,6 @@ import sys
|
|||
import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
from testcommon import mkdtemp
|
||||
|
||||
localmodule = Path(__file__).resolve().parent.parent
|
||||
print('localmodule: ' + str(localmodule))
|
||||
|
|
@ -21,6 +20,7 @@ import fdroidserver.common
|
|||
import fdroidserver.lint
|
||||
import fdroidserver.metadata
|
||||
from fdroidserver.common import CATEGORIES_CONFIG_NAME
|
||||
from testcommon import mkdtemp
|
||||
|
||||
|
||||
class LintTest(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue