OpenQuizz
Une application de gestion des contenus pédagogiques
TestErrorInitReprStr Class Reference
Inheritance diagram for TestErrorInitReprStr:
Collaboration diagram for TestErrorInitReprStr:

Public Member Functions

def make_error (self, **kwargs)
 
def assertShows (self, expected, **kwargs)
 
def test_it_calls_super_and_sets_args (self)
 
def test_repr (self)
 
def test_unset_error (self)
 
def test_empty_paths (self)
 
def test_one_item_paths (self)
 
def test_multiple_item_paths (self)
 
def test_uses_pprint (self)
 
def test_str_works_with_instances_having_overriden_eq_operator (self)
 

Member Function Documentation

◆ assertShows()

def assertShows (   self,
  expected,
**  kwargs 
)

◆ make_error()

def make_error (   self,
**  kwargs 
)

◆ test_empty_paths()

def test_empty_paths (   self)

◆ test_it_calls_super_and_sets_args()

def test_it_calls_super_and_sets_args (   self)

◆ test_multiple_item_paths()

def test_multiple_item_paths (   self)

◆ test_one_item_paths()

def test_one_item_paths (   self)

◆ test_repr()

def test_repr (   self)

◆ test_str_works_with_instances_having_overriden_eq_operator()

def test_str_works_with_instances_having_overriden_eq_operator (   self)
Check for https://github.com/Julian/jsonschema/issues/164 which
rendered exceptions unusable when a `ValidationError` involved
instances with an `__eq__` method that returned truthy values.

◆ test_unset_error()

def test_unset_error (   self)

◆ test_uses_pprint()

def test_uses_pprint (   self)

The documentation for this class was generated from the following file: