get_register_exist test pass

darcs-hash:20061026133744-86b55-09b304db0aeb6522d6ef383e83b0f6457b64ed17.gz
This commit is contained in:
David Rousselie
2006-10-26 15:37:44 +02:00
parent 49fd02310a
commit 85f2c8a85d
3 changed files with 11 additions and 8 deletions

View File

@@ -367,6 +367,11 @@ class JCLComponent_TestCase(unittest.TestCase):
and field.prop("label") == \
Lang.en.account_name]), \
1)
value = iq_sent.xpath_eval("jir:query/jxd:x/jxd:field/jxd:value", \
{"jir" : "jabber:iq:register", \
"jxd" : "jabber:x:data"})
self.assertEquals(len(value), 1)
self.assertEquals(value[0].content, "account1")
def test_handle_set_register(self):
pass