2017-12-22 02:11:56 +01:00
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2021-02-24 00:23:32 +01:00
|
|
|
from platypush.config import Config
|
|
|
|
|
2017-12-22 02:11:56 +01:00
|
|
|
testdir = os.path.dirname(__file__)
|
|
|
|
sys.path.insert(0, os.path.abspath(os.path.join(testdir, '..')))
|
|
|
|
config_file = os.path.join(testdir, 'etc', 'config.yaml')
|
|
|
|
|
|
|
|
Config.init(config_file)
|
|
|
|
|
|
|
|
|
2021-02-24 00:23:32 +01:00
|
|
|
class TimeoutException(RuntimeError):
|
2017-12-22 02:11:56 +01:00
|
|
|
def __init__(self, msg):
|
|
|
|
self.msg = msg
|
|
|
|
|
|
|
|
|
|
|
|
# vim:sw=4:ts=4:et:
|