()
| 243 | |
| 244 | @pytest.mark.skipif(PARSEL_18_PLUS, reason="parsel >= 1.8 supports jmespath") |
| 245 | def test_jmespath_not_available() -> None: |
| 246 | body = """ |
| 247 | { |
| 248 | "website": {"name": "Example"} |
| 249 | } |
| 250 | """ |
| 251 | resp = TextResponse(url="http://example.com", body=body, encoding="utf-8") |
| 252 | with pytest.raises(AttributeError): |
| 253 | resp.jmespath("website.name").get() |
nothing calls this directly
no test coverage detected