mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-25 11:11:20 +00:00
Merge branch 'develop' into roster
This commit is contained in:
commit
b60c51ef13
1 changed files with 5 additions and 5 deletions
|
@ -9,7 +9,7 @@ class TestErrorStanzas(SleekTest):
|
|||
msg.enable('error')
|
||||
self.check(msg, """
|
||||
<message type="error">
|
||||
<error type="cancel">
|
||||
<error type="cancel" code="501">
|
||||
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
|
||||
</error>
|
||||
</message>
|
||||
|
@ -22,7 +22,7 @@ class TestErrorStanzas(SleekTest):
|
|||
|
||||
self.check(msg, """
|
||||
<message type="error">
|
||||
<error type="cancel">
|
||||
<error type="cancel" code="404">
|
||||
<item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
|
||||
</error>
|
||||
</message>
|
||||
|
@ -34,7 +34,7 @@ class TestErrorStanzas(SleekTest):
|
|||
|
||||
self.check(msg, """
|
||||
<message type="error">
|
||||
<error type="cancel">
|
||||
<error type="wait" code="500">
|
||||
<resource-constraint xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
|
||||
</error>
|
||||
</message>
|
||||
|
@ -50,7 +50,7 @@ class TestErrorStanzas(SleekTest):
|
|||
|
||||
self.check(msg, """
|
||||
<message type="error">
|
||||
<error type="cancel">
|
||||
<error type="wait" code="500">
|
||||
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Error!</text>
|
||||
</error>
|
||||
</message>
|
||||
|
@ -66,7 +66,7 @@ class TestErrorStanzas(SleekTest):
|
|||
|
||||
self.check(msg, """
|
||||
<message type="error">
|
||||
<error type="cancel">
|
||||
<error type="wait" code="500">
|
||||
<internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
|
||||
</error>
|
||||
</message>
|
||||
|
|
Loading…
Reference in a new issue