'When data is passed to the write method, it should be sent to the
session channel\'s write method.'

def test_write(self):

    self.pp.write('test    data')
    self.assertEqual(self.session.conn.data[self.session], ['test    data'])
