Fix tests

This commit is contained in:
JP Verdejo 2023-06-26 15:34:06 -05:00
parent 39a33f6143
commit 67d8ce3e20

View File

@ -121,6 +121,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
id = "123456.random"
id2 = "7890.random"
@ -157,6 +158,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
id = "123456.random"
@ -178,6 +180,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
id = "123456.random"
bad_id = "654321.other"
@ -198,6 +201,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
id = "123456.random"
@ -220,6 +224,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
id = "123456.random"
@ -246,6 +251,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
id = "123456.random"
sub_label = "sub"
@ -281,6 +287,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
id = "123456.random"
sub_label = "sub"
@ -306,6 +313,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
with app.test_client() as client:
@ -323,6 +331,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
id = "123456.random"
@ -343,6 +352,7 @@ class TestHttp(unittest.TestCase):
None,
None,
PlusApi(),
None,
)
mock_stats.return_value = self.test_stats