(self)
| 414 | assert req.flags == ["cached", "allowed"] |
| 415 | |
| 416 | def test_follow_all_css(self): |
| 417 | expected = [ |
| 418 | "http://example.com/sample3.html", |
| 419 | "http://example.com/innertag.html", |
| 420 | ] |
| 421 | response = self._links_response() |
| 422 | extracted = [r.url for r in response.follow_all(css='a[href*="example.com"]')] |
| 423 | assert expected == extracted |
| 424 | |
| 425 | def test_follow_all_css_skip_invalid(self): |
| 426 | expected = [ |
nothing calls this directly
no test coverage detected