(cls)
| 475 | |
| 476 | @classmethod |
| 477 | def setUpClass(cls): |
| 478 | support.requires('network') |
| 479 | with socket_helper.transient_internet(cls.base_url): |
| 480 | cls.parser = urllib.robotparser.RobotFileParser(cls.robots_txt) |
| 481 | cls.parser.read() |
| 482 | |
| 483 | def url(self, path): |
| 484 | return '{}{}{}'.format( |