(self)
| 201 | assert self.function(r2) != self.function(r3) |
| 202 | |
| 203 | def test_request_replace(self): |
| 204 | # cached fingerprint must be cleared on request copy |
| 205 | r1 = Request("http://www.example.com") |
| 206 | fp1 = self.function(r1) |
| 207 | r2 = r1.replace(url="http://www.example.com/other") |
| 208 | fp2 = self.function(r2) |
| 209 | assert fp1 != fp2 |
| 210 | |
| 211 | def test_part_separation(self): |
| 212 | # An old implementation used to serialize request data in a way that |