'test of request stanza'

def testAccepted(self):

    iq = self.Iq()
    iq['type'] = 'result'
    iq['from'] = 'device@clayster.com'
    iq['to'] = 'master@clayster.com/amr'
    iq['id'] = '2'
    iq['accepted']['seqnr'] = '2'
    self.check(iq, "\n                                                <iq    type='result'\n                                                                from='device@clayster.com'\n                                                                to='master@clayster.com/amr'\n                                                                id='2'>\n                                                                <accepted    xmlns='urn:xmpp:iot:sensordata'    seqnr='2'/>\n                                                </iq>\n                                ")
