'L{error.ConnectionClosed} is a superclass of L{error.ConnectionLost}.'

def test_connectionLostSubclassOfConnectionClosed(self):

    self.assertTrue(issubclass(error.ConnectionLost, error.ConnectionClosed))
