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

def test_errReceived(self):

    self.pp.errReceived('test    data')
    self.assertEqual(self.session.conn.extData[self.session], [(1, 'test    data')])
