Follow me on GitHub

Unittest in python
How to catch a raise error in python unittest

I'm finished

When you developer your code and want to test somthing there crash you code so its not react wirdt you mabey use raise commands like ValueError and mabey you use your custom raise command based on a class you have created.

Its a good ide to test this in python unittest when you create a raise ValueError or orther raises, i will learn you how to do this so you can expect your code react how you want and not do somthing differendt.