summaryrefslogtreecommitdiff
path: root/tests/test_stanza_xep_0060.py
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2011-08-12 16:36:03 -0700
committerNathan Fritz <fritzy@netflint.net>2011-08-12 16:36:03 -0700
commit8f1d0e7a79b662e5f2849cea6e73716cc887e226 (patch)
treeec2fe16b50effd4ba5787a57de00c514fad4f333 /tests/test_stanza_xep_0060.py
parent88184ff9556774b1be3dc7fcb97f1f71803d2d61 (diff)
parent9b7ed73f95145f88887d6fc3daa1bd2a9596b943 (diff)
downloadslixmpp-8f1d0e7a79b662e5f2849cea6e73716cc887e226.tar.gz
slixmpp-8f1d0e7a79b662e5f2849cea6e73716cc887e226.tar.bz2
slixmpp-8f1d0e7a79b662e5f2849cea6e73716cc887e226.tar.xz
slixmpp-8f1d0e7a79b662e5f2849cea6e73716cc887e226.zip
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
Diffstat (limited to 'tests/test_stanza_xep_0060.py')
-rw-r--r--tests/test_stanza_xep_0060.py34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/test_stanza_xep_0060.py b/tests/test_stanza_xep_0060.py
index d42c11bd..2427b787 100644
--- a/tests/test_stanza_xep_0060.py
+++ b/tests/test_stanza_xep_0060.py
@@ -182,7 +182,7 @@ class TestPubsubStanzas(SleekTest):
<subscribe node="cheese" jid="fritzy@netflint.net/sleekxmpp">
<options node="cheese" jid="fritzy@netflint.net/sleekxmpp">
<x xmlns="jabber:x:data" type="submit">
- <field var="pubsub#title" type="text-single">
+ <field var="pubsub#title">
<value>this thing is awesome</value>
</field>
</x>
@@ -306,42 +306,42 @@ class TestPubsubStanzas(SleekTest):
<create node="testnode2" />
<configure>
<x xmlns="jabber:x:data" type="submit">
- <field var="FORM_TYPE" type="hidden">
+ <field var="FORM_TYPE">
<value>http://jabber.org/protocol/pubsub#node_config</value>
</field>
- <field var="pubsub#node_type" type="list-single" label="Select the node type">
+ <field var="pubsub#node_type">
<value>leaf</value>
</field>
- <field var="pubsub#title" type="text-single" label="A friendly name for the node" />
- <field var="pubsub#deliver_notifications" type="boolean" label="Deliver event notifications">
+ <field var="pubsub#title" />
+ <field var="pubsub#deliver_notifications">
<value>1</value>
</field>
- <field var="pubsub#deliver_payloads" type="boolean" label="Deliver payloads with event notifications">
+ <field var="pubsub#deliver_payloads">
<value>1</value>
</field>
- <field var="pubsub#notify_config" type="boolean" label="Notify subscribers when the node configuration changes" />
- <field var="pubsub#notify_delete" type="boolean" label="Notify subscribers when the node is deleted" />
- <field var="pubsub#notify_retract" type="boolean" label="Notify subscribers when items are removed from the node">
+ <field var="pubsub#notify_config" />
+ <field var="pubsub#notify_delete" />
+ <field var="pubsub#notify_retract">
<value>1</value>
</field>
- <field var="pubsub#notify_sub" type="boolean" label="Notify owners about new subscribers and unsubscribes" />
- <field var="pubsub#persist_items" type="boolean" label="Persist items in storage" />
- <field var="pubsub#max_items" type="text-single" label="Max # of items to persist">
+ <field var="pubsub#notify_sub" />
+ <field var="pubsub#persist_items" />
+ <field var="pubsub#max_items">
<value>10</value>
</field>
- <field var="pubsub#subscribe" type="boolean" label="Whether to allow subscriptions">
+ <field var="pubsub#subscribe">
<value>1</value>
</field>
- <field var="pubsub#access_model" type="list-single" label="Specify the subscriber model">
+ <field var="pubsub#access_model">
<value>open</value>
</field>
- <field var="pubsub#publish_model" type="list-single" label="Specify the publisher model">
+ <field var="pubsub#publish_model">
<value>publishers</value>
</field>
- <field var="pubsub#send_last_published_item" type="list-single" label="Send last published item">
+ <field var="pubsub#send_last_published_item">
<value>never</value>
</field>
- <field var="pubsub#presence_based_delivery" type="boolean" label="Deliver notification only to available users" />
+ <field var="pubsub#presence_based_delivery" />
</x>
</configure>
</pubsub>