test: decrease timeout and wait_events

This commit is contained in:
lucasheld 2023-05-20 14:23:01 +02:00
parent a34b45df8e
commit 27d8e63f7b

View file

@ -37,7 +37,7 @@ class UptimeKumaTestCase(unittest.TestCase):
def setUp(self): def setUp(self):
warnings.simplefilter("ignore", ResourceWarning) warnings.simplefilter("ignore", ResourceWarning)
self.api = UptimeKumaApi(self.url) self.api = UptimeKumaApi(self.url, timeout=1, wait_events=0.01)
global token global token
if not token: if not token: