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

This commit is contained in:
Pedro Algarvio 2013-06-27 12:53:56 +01:00
parent 738447d0a9
commit f69373a277

View File

@ -1,18 +1,11 @@
# Import python libs
import os
try:
import integration
except ImportError:
if __name__ == '__main__':
import sys
sys.path.insert(
0, os.path.abspath(
os.path.join(
os.path.dirname(__file__), '../../'
)
)
)
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
import integration