Exemplo n.º 1
0
 def test_udefinded_method_with_base_node(self):
     self.assertRaises(
         AttributeError, lambda: Number(self.number).addElement(BaseNode()))
Exemplo n.º 2
0
 def test_call_udefinded_method_with_base_node(self):
     self.assertRaises(AttributeError,
                       lambda: Record(self.name).addElement(BaseNode()))
Exemplo n.º 3
0
 def test_udefinded_method_with_base_node(self):
     self.assertRaises(AttributeError,
                       lambda: Redirect(self.url).addElement(BaseNode()))
Exemplo n.º 4
0
 def test_udefinded_method_with_base_node(self):
     """test calling undefined method"""
     self.assertRaises(AttributeError,
                       lambda: Sip(self.address).addElement(BaseNode()))