def test_ebAuth(self):
        """
        _ebAuth (the generic authentication error handler) should send
        a request for the 'none' authentication method.
        """
        self.authClient.transport.packets = []
        self.authClient._ebAuth(None)
        self.assertEqual(self.authClient.transport.packets,
                [(userauth.MSG_USERAUTH_REQUEST, NS(b'foo') + NS(b'nancy')
                    + NS(b'none'))])

        _ebAuth (the generic authentication error handler) should send
        a request for the 'none' authentication method.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_userauth.py