]> git.ipfire.org Git - thirdparty/httpx.git/commit
Include URL.__hash__ in test (#64)
authorYeray Diaz Diaz <yeray.diaz@farfetch.com>
Wed, 15 May 2019 13:30:00 +0000 (14:30 +0100)
committerTom Christie <tom@tomchristie.com>
Wed, 15 May 2019 13:30:00 +0000 (14:30 +0100)
commit2e9ab2e904abe5feec2ccb74eecb7f874bde5ba9
tree9055cdae9b56fd9e10a76fbcc13affe691dd75e4
parent019c5d16138e771d330c95c15fc426c4a74dcd35
Include URL.__hash__ in test (#64)

* Include URL.__hash__ in test

* Add test for URLs being used in a set

Remove hash assertion on test requests

* Cleanup models.py

* Use membership test instead of equality to avoid ordering problems
httpcore/models.py
tests/models/test_requests.py
tests/models/test_url.py