def test_closeReceieved(self):
        self.assertFalse(self.channel.closing)
        self.channel.closeReceived()
        self.assertTrue(self.channel.closing)
Test that the default closeReceieved closes the connection.
dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_channel.py/ChannelTests.test_closeReceieved