123456789101112131415161718192021222324252627 |
- # -*- coding: utf-8 -*-
- from __future__ import absolute_import, print_function, unicode_literals
- import pytest
- from tests.support.case import SyndicCase
- @pytest.mark.windows_whitelisted
- class TestSyndic(SyndicCase):
- """
- Validate the syndic interface by testing the test module
- """
- @pytest.mark.slow_test(seconds=30) # Test takes >10 and <=30 seconds
- def test_ping(self):
- """
- test.ping
- """
- self.assertTrue(self.run_function("test.ping"))
- @pytest.mark.slow_test(seconds=30) # Test takes >10 and <=30 seconds
- def test_fib(self):
- """
- test.fib
- """
- self.assertEqual(self.run_function("test.fib", ["20"],)[0], 6765)
|