uptime-kuma-api/tests/test_info.py
2022-08-03 12:35:48 +02:00

14 lines
297 B
Python

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()