test_syndic.py 632 B

12345678910111213141516171819202122232425262728
  1. # -*- coding: utf-8 -*-
  2. from __future__ import absolute_import, print_function, unicode_literals
  3. import pytest
  4. from tests.support.case import SyndicCase
  5. from tests.support.helpers import slowTest
  6. @pytest.mark.windows_whitelisted
  7. class TestSyndic(SyndicCase):
  8. """
  9. Validate the syndic interface by testing the test module
  10. """
  11. @slowTest
  12. def test_ping(self):
  13. """
  14. test.ping
  15. """
  16. self.assertTrue(self.run_function("test.ping"))
  17. @slowTest
  18. def test_fib(self):
  19. """
  20. test.fib
  21. """
  22. self.assertEqual(self.run_function("test.fib", ["20"],)[0], 6765)