(self)
| 34 | |
| 35 | @inline_callbacks_test |
| 36 | def test_good_credentials(self): |
| 37 | console, portal = self._get_console_and_portal() |
| 38 | creds = credentials.UsernamePassword( |
| 39 | console.username.encode("utf8"), console.password.encode("utf8") |
| 40 | ) |
| 41 | d = portal.login(creds, None, ITelnetProtocol) |
| 42 | yield d |
| 43 | console.stop_listening() |
| 44 | |
| 45 | @inline_callbacks_test |
| 46 | def test_custom_credentials(self): |
nothing calls this directly
no test coverage detected