The unittest module is provided with the standard Python library. It has an extensive set of tools and procedures for performing unit tests. In this section, we'll briefly see how the unittest module works.
A unit test consists of two parts:
- The code to manage the so-called test system
- The test itself