Exemplo n.º 1
0
 def test_str(self):
     assert str(MissingRequiredAttributeException()) == ""
     assert (str(MissingRequiredAttributeException("error message")) ==
             "error message")
Exemplo n.º 2
0
 def test_inheritance(self):
     assert isinstance(MissingRequiredAttributeException(), ClientException)