def testPlayConvienceMethod(self): """convenience method: should play hello monkey""" r = Response() r.addPlay("http://hellomonkey.mp3", loop=3) r = self.strip(r) self.assertEqual(r, '<?xml version="1.0" encoding="utf-8"?><Response><Play loop="3">http://hellomonkey.mp3</Play></Response>')