(test_cli)
| 66 | |
| 67 | |
| 68 | async 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 | |
| 82 | async def test_get_proxies_anonymous_true(test_cli): |
nothing calls this directly
no test coverage detected