(self)
| 138 | self.retry_captcha() |
| 139 | |
| 140 | def handle_password(self): |
| 141 | url, inputs = self.parse_html_form('action="%s"' % self.pyfile.url) |
| 142 | if inputs is None: |
| 143 | return |
| 144 | |
| 145 | elif inputs['do'] == "password": |
| 146 | password = self.get_password() |
| 147 | if not password: |
| 148 | self.fail(_("Password required")) |
| 149 | |
| 150 | inputs['password'] = password |
| 151 | inputs['submit'] = "confirm" |
| 152 | |
| 153 | self.data = self.load(url, post=inputs) |
| 154 | |
| 155 | if "That Password was incorrect" in self.data: |
| 156 | self.fail(_("Wrong password")) |
| 157 | |
| 158 | def handle_CNL(self): |
| 159 | links = [] |
no test coverage detected