Updated integration.modules.event test suite to use salttesting.helpers.ensure_in_syspath()

This commit is contained in:
Pedro Algarvio 2013-06-27 12:02:41 +01:00
parent b920ded0b4
commit cdb5828874

View File

@ -13,21 +13,12 @@ import time
import threading
from Queue import Queue, Empty
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
try:
import integration
except ImportError:
if __name__ == '__main__':
import os
import sys
sys.path.insert(
0, os.path.abspath(
os.path.join(
os.path.dirname(__file__), '../../'
)
)
)
import integration
import integration
from salt.utils import event