'The C{--passwd} command-line option will load a passwd-like file.'

def test_passwd(self):

    self.options.parseOptions(['--telnetPort', 'tcp:22', '--passwd', self.filename])
    service = manhole_tap.makeService(self.options)
    portal = service.services[0].factory.protocol.portal
    self.assertEqual(len(portal.checkers.keys()), 2)
    self.assertTrue(self.successResultOf(portal.login(UsernamePassword(*self.usernamePassword), None, telnet.ITelnetProtocol)))
    self.assertIsInstance(self.failureResultOf(portal.login(UsernamePassword('wrong', 'user'), None, telnet.ITelnetProtocol)).value, error.UnauthorizedLogin)
