2012-08-04 18:58:32 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2012-12-11 10:23:37 +00:00
|
|
|
'''
|
2012-08-04 18:58:32 +00:00
|
|
|
tests.integration.shell.syndic
|
2012-12-11 10:23:37 +00:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2012-08-04 18:58:32 +00:00
|
|
|
|
2012-12-11 10:23:37 +00:00
|
|
|
:codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)`
|
2013-06-25 07:57:26 +00:00
|
|
|
:copyright: © 2012-2013 by the SaltStack Team, see AUTHORS for more details
|
2012-08-04 18:58:32 +00:00
|
|
|
:license: Apache 2.0, see LICENSE for more details.
|
2012-12-11 10:23:37 +00:00
|
|
|
'''
|
2012-08-04 18:58:32 +00:00
|
|
|
|
2012-12-11 10:23:37 +00:00
|
|
|
# Import python libs
|
2012-08-04 18:58:32 +00:00
|
|
|
import sys
|
|
|
|
|
|
|
|
# Import salt libs
|
2013-06-24 22:53:59 +00:00
|
|
|
try:
|
|
|
|
import integration
|
|
|
|
except ImportError:
|
|
|
|
if __name__ == '__main__':
|
|
|
|
import os
|
|
|
|
sys.path.insert(
|
|
|
|
0, os.path.abspath(
|
|
|
|
os.path.join(
|
|
|
|
os.path.dirname(__file__), '../../'
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
import integration
|
2012-08-04 18:58:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
class SyndicTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
|
|
|
|
|
|
|
|
_call_binary_ = 'salt-syndic'
|
|
|
|
|
2012-12-11 10:23:37 +00:00
|
|
|
|
2013-06-24 22:53:59 +00:00
|
|
|
if __name__ == '__main__':
|
|
|
|
from integration import run_tests
|
|
|
|
run_tests(SyndicTest)
|