Andrwe / privoxy-blocklist

Script converting AdBlock Plus rules into privoxy format.
The Unlicense
153 stars 39 forks source link

add test of filter rules #27

Closed Andrwe closed 6 months ago

Andrwe commented 2 years ago

Currently the test suite only checks if privoxy can be started with the filter rules generated.

This should be improved by running tests that check if some required filters really work. The pytest script could use python-requests to run HTTP requests with patterns matching the rules.

At least #7 should be tested.