set_register test pass

- correct str(jid) deprecation
- make set_register pass
- !! Warning !! XMLDummyServer still have problem

darcs-hash:20060122134549-86b55-9f267838d21cdfb8ee6176573099e39beeca8c1b.gz
This commit is contained in:
David Rousselie
2006-01-22 14:45:49 +01:00
parent a44b18828e
commit d782022182
3 changed files with 25 additions and 27 deletions

View File

@@ -273,8 +273,6 @@ class MailComponent_TestCase_NoReg(unittest.TestCase):
"</x>" + \
"</query></iq>",
lambda x: None,
lambda x: None,
lambda x: None,
"</stream:stream>"]
self.server.queries = ["<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + \
"<stream:stream xmlns:stream=\"http://etherx.jabber.org/streams\" xmlns=\"jabber:component:accept\" to=\"jmc.localhost\" version=\"1.0\">", \