diff options
author | Robert Robinson <rerobins@gmail.com> | 2015-09-15 10:05:53 -0600 |
---|---|---|
committer | Robert Robinson <rerobins@gmail.com> | 2015-09-15 10:05:53 -0600 |
commit | 0b14ef82d4058925e7e9db22038777d4654e8199 (patch) | |
tree | fbbefac28f9b00c0c10f1e1d36e469b61a7ab35a /sleekxmpp/thirdparty/__init__.py | |
parent | 93c705fb3133b27388c0845f925b0615c88414b1 (diff) | |
download | slixmpp-0b14ef82d4058925e7e9db22038777d4654e8199.tar.gz slixmpp-0b14ef82d4058925e7e9db22038777d4654e8199.tar.bz2 slixmpp-0b14ef82d4058925e7e9db22038777d4654e8199.tar.xz slixmpp-0b14ef82d4058925e7e9db22038777d4654e8199.zip |
Add test case for reported and items
Previous stanza test cases didn't have test cases for reported and item field types in forms. This fixes that issue.
Modified stanzabase to use an ordered dict so that can guarentee the that 'items' in a form are added after reported. Also updated the set of interfaces that are stored in Form to be a ordered set. Used the order set implementation from: https://code.activestate.com/recipes/576694/
The OrderedSet implementation is licensed under the MIT license and is developed by the same developer of the ordereddict.
Diffstat (limited to 'sleekxmpp/thirdparty/__init__.py')
-rw-r--r-- | sleekxmpp/thirdparty/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/thirdparty/__init__.py b/sleekxmpp/thirdparty/__init__.py index 2a1db717..337598ac 100644 --- a/sleekxmpp/thirdparty/__init__.py +++ b/sleekxmpp/thirdparty/__init__.py @@ -10,3 +10,4 @@ except: from sleekxmpp.thirdparty import socks from sleekxmpp.thirdparty.mini_dateutil import tzutc, tzoffset, parse_iso +from sleekxmpp.thirdparty.orderedset import OrderedSet |