In gabbletest.py, the make_result_iq() help function automatically copy the query node of the originating stanza and put it in the result stanza. This behavior is required in very specific cases, not the general case. Solutions could be to get this behavior on a boolean set to True or just remove it from this function. Also, I'm pretty sure some tests does not need this node, but most of the time extra nodes are just ignores, so it does not cause trouble here. A review of the tests will be required.
I spoke a bit too fast, most result do have the same first node as the query. I think I'll propose to add a boolean parameters to disable creation of first node, so we can use this function with google mail notification spec and keep the rest of the code as-is. Citing daf: "I think it's a bit ugly, but I guess I don't have a better solution right now"
Was pushed along with email-notification.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.