14 lines
239 B
Python
14 lines
239 B
Python
|
import unittest
|
||
|
|
||
|
from uptime_kuma_test_case import UptimeKumaTestCase
|
||
|
|
||
|
|
||
|
class TestUptime(UptimeKumaTestCase):
|
||
|
def test_uptime(self):
|
||
|
self.add_monitor()
|
||
|
self.api.uptime()
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
unittest.main()
|