def test_udefinded_method_with_base_node(self): self.assertRaises( AttributeError, lambda: Number(self.number).addElement(BaseNode()))
def test_call_udefinded_method_with_base_node(self): self.assertRaises(AttributeError, lambda: Record(self.name).addElement(BaseNode()))
def test_udefinded_method_with_base_node(self): self.assertRaises(AttributeError, lambda: Redirect(self.url).addElement(BaseNode()))
def test_udefinded_method_with_base_node(self): """test calling undefined method""" self.assertRaises(AttributeError, lambda: Sip(self.address).addElement(BaseNode()))