uptime-kuma-api/tests/test_info.py

15 lines
297 B
Python
Raw Normal View History

2022-08-03 12:35:48 +02:00
import unittest
from uptime_kuma_test_case import UptimeKumaTestCase
class TestInfo(UptimeKumaTestCase):
def test_info(self):
info = self.api.info()
self.assertIn("version", info)
self.assertIn("latestVersion", info)
if __name__ == '__main__':
unittest.main()