forked from DGNum/uptime-kuma-api
remove logout from tests to bypass the rate limit completely
This commit is contained in:
parent
f737d722e4
commit
59181ddba2
1 changed files with 2 additions and 3 deletions
|
@ -9,8 +9,8 @@ token = None
|
||||||
class UptimeKumaTestCase(unittest.TestCase):
|
class UptimeKumaTestCase(unittest.TestCase):
|
||||||
api = None
|
api = None
|
||||||
url = "http://127.0.0.1:3001"
|
url = "http://127.0.0.1:3001"
|
||||||
username = "testuser"
|
username = "admin"
|
||||||
password = "zS7zhQSc"
|
password = "secret123"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
|
@ -27,7 +27,6 @@ class UptimeKumaTestCase(unittest.TestCase):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def tearDownClass(cls):
|
def tearDownClass(cls):
|
||||||
cls.api.logout()
|
|
||||||
cls.api.disconnect()
|
cls.api.disconnect()
|
||||||
|
|
||||||
def compare(self, superset, subset):
|
def compare(self, superset, subset):
|
||||||
|
|
Loading…
Reference in a new issue