'Test setting proper result type in Iq replies.'

def testReply(self):

    iq = self.Iq()
    iq['to'] = 'user@localhost'
    iq['type'] = 'get'
    iq.reply()
    self.check(iq, '\n                                        <iq    id="0"    type="result"    />\n                                ')
