Skip to content

Commit

Permalink
Add a test for skipping universal rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Apr 19, 2024
1 parent 34b9cc2 commit d2d831f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_url_canonicalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def test_url_canonicalizer_load(tmp_path):
url_canonicalizer.process_url("http://foo.example/?foo=1&bbn=1&PHPSESSIONID=1")
== "http://foo.example/?foo=1&bbn=1"
)
assert (
url_canonicalizer.process_url("http://bar.example/?foo=1&bbn=1&PHPSESSIONID=1")
== "http://bar.example/?foo=1&PHPSESSIONID=1"
)


def test_url_canonicalizer_unknown_processor(tmp_path):
Expand Down

0 comments on commit d2d831f

Please sign in to comment.