1
0
mirror of https://github.com/borg-qt/borg-qt.git synced 2024-06-29 04:20:48 +02:00
borg-qt/tests/context.py
Andreas Zweili 4135986745 add a context file for tests
With the context file on can import modules from the main package. This is very
helpful for tests.

Just do, import context in each test to activate it.
2019-01-18 16:48:16 +01:00

5 lines
160 B
Python

import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__),
'../borg_qt')))