(self)
| 30 | PASSWORD_PATTERN = r'<div id="pwd_protected">' |
| 31 | |
| 32 | def check_errors(self): |
| 33 | m = re.search(self.PASSWORD_PATTERN, self.data) |
| 34 | if m is not None: |
| 35 | self.data = self.load( |
| 36 | self.pyfile.url, get={ |
| 37 | 'key': self.get_password()}) |
| 38 | |
| 39 | if re.search(self.PASSWORD_PATTERN, self.data): |
| 40 | self.retry(msg="Wrong password") |
nothing calls this directly
no test coverage detected