mirror of
https://github.com/borg-qt/borg-qt.git
synced 2024-06-30 21:10:47 +02:00
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.
5 lines
160 B
Python
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')))
|