Skip to content
Snippets Groups Projects
Commit b379c632 authored by Xavier Claessens's avatar Xavier Claessens Committed by Sjoerd Simons
Browse files

tracker: move common.py into apertis_tests_lib

Reviewers: smcv, pwith

Differential Revision: https://phabricator.apertis.org/D541
parent 9408bdf8
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
# Copyright © 2015 Collabora Ltd.
#
# SPDX-License-Identifier: MPL-2.0
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
File moved
......@@ -17,10 +17,11 @@ from gi.repository import GLib
from gi.repository import Gio
from gi.repository import Grl
# import from parent directory
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
from common import TrackerIndexer
from common import LONG_JPEG_NAME
# import from toplevel directory
sys.path.insert(0, os.path.join(os.path.dirname(__file__),
os.pardir, os.pardir))
from apertis_tests_lib.tracker import TrackerIndexer
from apertis_tests_lib.tracker import LONG_JPEG_NAME
class TrackerTest(unittest.TestCase):
......
......@@ -15,9 +15,10 @@ import os
from gi.repository import GLib
from gi.repository import Gio
# import from parent directory
sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir))
from common import TrackerIndexer
# import from toplevel directory
sys.path.insert(0, os.path.join(os.path.dirname(__file__),
os.pardir, os.pardir))
from apertis_tests_lib.tracker import TrackerIndexer
class TestRemovableDevice(unittest.TestCase):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment