def test_int_post_func_default_value2(self): result = account.int_post_func(None, lambda bare_from_jid: 42, \ "*****@*****.**") self.assertEquals(result, 42)
def test_int_post_func(self): result = account.int_post_func("42", None, "*****@*****.**") self.assertEquals(result, 42)