MCPcopy
hub / github.com/MikeChongCan/scylla / test_get_proxies_limit

Function test_get_proxies_limit

tests/web/server_test.py:68–79  ·  view source on GitHub ↗
(test_cli)

Source from the content-addressed store, hash-verified

66
67
68async def test_get_proxies_limit(test_cli):
69 ip_str = create_test_ip()
70
71 resp = await test_cli.get('/api/v1/proxies?limit=10')
72 assert resp.status_code == 200
73
74 resp_json = resp.json()
75
76 proxies = resp_json['proxies']
77 assert (len(proxies) > 0)
78
79 delete_test_ip(ip_str)
80
81
82async def test_get_proxies_anonymous_true(test_cli):

Callers

nothing calls this directly

Calls 3

create_test_ipFunction · 0.85
delete_test_ipFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected