()
| 85 | |
| 86 | |
| 87 | async def test_bind_robots_txt_url() -> None: |
| 88 | content = 'User-agent: *\nDisallow: /' |
| 89 | robots = await RobotsTxtFile.from_content('http://check.com/robots.txt', content) |
| 90 | assert not robots.is_allowed('http://check.com/test.html') |
| 91 | assert robots.is_allowed('http://othercheck.com/robots.txt') |
nothing calls this directly
no test coverage detected