Archived
Add curl-impersonate for ani-cli v5
This commit is contained in:
@@ -3340,6 +3340,7 @@ class HandlerRouteTests(unittest.TestCase):
|
||||
handler = DummyHandler("/api/dependencies")
|
||||
APP.Handler.do_GET(handler)
|
||||
self.assertEqual(handler.json_status, HTTPStatus.OK)
|
||||
self.assertIn("curl-impersonate", handler.json_payload)
|
||||
self.assertIn("anipy-cli", handler.json_payload)
|
||||
self.assertIn("animdl", handler.json_payload)
|
||||
|
||||
@@ -3350,6 +3351,12 @@ class HandlerRouteTests(unittest.TestCase):
|
||||
status = http_handler.dependency_status()
|
||||
|
||||
self.assertTrue(status["animdl"])
|
||||
exists_any.assert_any_call(
|
||||
"curl_firefox135",
|
||||
"curl_chrome136",
|
||||
"curl_chrome116",
|
||||
"curl_ff117",
|
||||
)
|
||||
exists_any.assert_any_call(
|
||||
http_handler.ANIMDL,
|
||||
"animdl",
|
||||
|
||||
Reference in New Issue
Block a user