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

This commit is contained in:
Pedro Algarvio 2013-06-27 13:21:16 +01:00
parent 4c014ef284
commit 495f8f0440

View file

@ -14,19 +14,12 @@ import sys
import yaml
import pipes
# 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__':
sys.path.insert(
0, os.path.abspath(
os.path.join(
os.path.dirname(__file__), '../../'
)
)
)
import integration
import integration
import salt.utils