mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
31 lines
639 B
Python
31 lines
639 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Import Python libs
|
|
from __future__ import absolute_import
|
|
|
|
# Import Salt Testing libs
|
|
from tests.support.case import SyndicCase
|
|
|
|
|
|
class TestSyndic(SyndicCase):
|
|
'''
|
|
Validate the syndic interface by testing the test module
|
|
'''
|
|
def test_ping(self):
|
|
'''
|
|
test.ping
|
|
'''
|
|
self.assertTrue(self.run_function('test.ping'))
|
|
|
|
def test_fib(self):
|
|
'''
|
|
test.fib
|
|
'''
|
|
self.assertEqual(
|
|
self.run_function(
|
|
'test.fib',
|
|
['20'],
|
|
)[0],
|
|
6765
|
|
)
|