summaryrefslogtreecommitdiff
path: root/tests/test_stream_exceptions.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-03-24 13:14:26 -0400
committerLance Stout <lancestout@gmail.com>2011-03-24 13:14:26 -0400
commitd94811d81d68d948155d42ff9096c23ccb90a73c (patch)
tree41c435665b8532cbf51a148b46d5b385183bc1c4 /tests/test_stream_exceptions.py
parent6d45971411f88f134abc28051c678986db8e9df8 (diff)
downloadslixmpp-d94811d81d68d948155d42ff9096c23ccb90a73c.tar.gz
slixmpp-d94811d81d68d948155d42ff9096c23ccb90a73c.tar.bz2
slixmpp-d94811d81d68d948155d42ff9096c23ccb90a73c.tar.xz
slixmpp-d94811d81d68d948155d42ff9096c23ccb90a73c.zip
Added new implementation for XEP-0086.
Diffstat (limited to 'tests/test_stream_exceptions.py')
-rw-r--r--tests/test_stream_exceptions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_stream_exceptions.py b/tests/test_stream_exceptions.py
index a4598a10..bc01c2a7 100644
--- a/tests/test_stream_exceptions.py
+++ b/tests/test_stream_exceptions.py
@@ -37,7 +37,7 @@ class TestStreamExceptions(SleekTest):
self.send("""
<message type="error">
- <error type="cancel">
+ <error type="cancel" code="501">
<feature-not-implemented
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
@@ -73,7 +73,7 @@ class TestStreamExceptions(SleekTest):
self.send("""
<iq type="error" id="0">
<query xmlns="test" />
- <error type="cancel">
+ <error type="cancel" code="501">
<feature-not-implemented
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
@@ -103,7 +103,7 @@ class TestStreamExceptions(SleekTest):
self.send("""
<message type="error">
- <error type="cancel">
+ <error type="cancel" code="501">
<feature-not-implemented
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">
@@ -137,7 +137,7 @@ class TestStreamExceptions(SleekTest):
self.send("""
<message type="error">
- <error type="cancel">
+ <error type="cancel" code="500">
<undefined-condition
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">