I got the error message below, when running my unittest (test_mongo.py). Source codes are mongo.py, schema.py. Something is with lines 69, 70, but I can't figure out even with debugging with pycham. I never had issue with unittest with side effect like this before. Should be easiest unittest test, but not in this case.
The text format of my post doesn't work well, so I added pictures of the error and the codes to help. Appreciate any clear and constructive feedback.
E TypeError: OperationFailure.init() missing 1 required positional argument: 'error'
====== Pictures of the code ======


