mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
24 lines
516 B
Python
24 lines
516 B
Python
# -*- coding: utf-8 -*-
|
|
'''
|
|
salt-ssh testing
|
|
'''
|
|
# Import Python libs
|
|
from __future__ import absolute_import
|
|
|
|
# Import salt testing libs
|
|
from tests.support.unit import skipIf
|
|
from tests.support.case import SSHCase
|
|
|
|
|
|
@skipIf(True, 'Not ready for production')
|
|
class SSHTest(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')
|