mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
28 lines
603 B
Python
28 lines
603 B
Python
# -*- coding: utf-8 -*-
|
|
'''
|
|
salt-ssh testing
|
|
'''
|
|
# Import Python libs
|
|
from __future__ import absolute_import
|
|
|
|
# Import salttesting libs
|
|
from salttesting.unit import skipIf
|
|
from salttesting.helpers import ensure_in_syspath
|
|
ensure_in_syspath('../../')
|
|
|
|
# Import Salt libs
|
|
import integration
|
|
|
|
|
|
@skipIf(True, 'Not ready for production')
|
|
class SSHTest(integration.SSHCase):
|
|
'''
|
|
Test general salt-ssh functionality
|
|
'''
|
|
def test_ping(self):
|
|
'''
|
|
Test a simple ping
|
|
'''
|
|
ret = self.run_function('test.ping')
|
|
self.assertTrue(ret, 'Ping did not return true')
|