Make live stream tests work better.
commitb8114b25ed28437248322aad50209f737faa392c
authorLance Stout <lancestout@gmail.com>
Wed, 17 Nov 2010 18:37:03 +0000 (17 13:37 -0500)
committerLance Stout <lancestout@gmail.com>
Wed, 17 Nov 2010 18:43:15 +0000 (17 13:43 -0500)
tree998512dd09883dd08a6facf0ae71ac0c3ba5be03
parent45991e47eeab97f0411139c5b1627ac6350de3d0
Make live stream tests work better.

SleekTest can now use matchers when checking stanzas, using
the method parameter for self.check(), self.recv(), and self.send():
    method='exact'      - Same behavior as before
           'xpath'      - Use xpath matcher
           'id'         - Use ID matcher
           'mask'       - Use XML mask matcher
           'stanzapath' - Use StanzaPath matcher

recv_feature and send_feature only accept 'exact' and 'mask' for now.
sleekxmpp/test/sleektest.py
sleekxmpp/xmlstream/matcher/xmlmask.py
tests/live_test.py