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

This commit is contained in:
Pedro Algarvio 2013-06-27 13:25:43 +01:00
parent 067f45f6ab
commit 331dc6d936

View file

@ -8,21 +8,12 @@
:license: Apache 2.0, see LICENSE for more details.
'''
# 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
class MinionTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):