mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
222be7b446
* Double to single quotes
38 lines
865 B
Python
38 lines
865 B
Python
# -*- coding: utf-8 -*-
|
|
'''
|
|
tests.integration.shell.syndic
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
:codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)`
|
|
:copyright: © 2012 by the SaltStack Team, see AUTHORS for more details.
|
|
:license: Apache 2.0, see LICENSE for more details.
|
|
'''
|
|
|
|
# Import python libs
|
|
import sys
|
|
|
|
# Import salt libs
|
|
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
|
|
|
|
|
|
class SyndicTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
|
|
|
|
_call_binary_ = 'salt-syndic'
|
|
|
|
|
|
if __name__ == '__main__':
|
|
from integration import run_tests
|
|
run_tests(SyndicTest)
|