Exemplo n.º 1
0
 def test_string_representation(self, exception, name, message):
     assert text_type(exception) == force_text(message)
Exemplo n.º 2
0
 def test_string_representation(self, exception, name, message):
     assert text_type(exception) == force_text(message)
Exemplo n.º 3
0
 def test_constructor_sets_name(self, exception, name, message):
     assert exception.name == force_text(name)
Exemplo n.º 4
0
 def test_constructor_sets_name(self, exception, name, message):
     assert exception.name == force_text(name)