def connectionLost(self, reason=None):
        insults.TerminalProtocol.connectionLost(self, reason)
        self.sessionhandler.disconnect(self)
        self.terminal.loseConnection()
Test that settings are overridden within setUpClass -- refs #21281
dataset/ETHPy150Open evennia/evennia/evennia/server/portal/ssh.py/SshProtocol.connectionLost--crossover with--dataset/ETHPy150Open django/django/tests/settings_tests/tests.py/ClassDecoratedTestCase.test_setupclass_override