This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Let's create some units tests - simple ones to test each method separately, considering only inputs and possible expected outputs. Don't verify log messages. The unit tests should only focus on the content of specific methods only. If anything is outside that method being called - mock/patch it. | |
Make sure the test function actually tests the code of the function, because I need full coverage. | |
Add typing to all input and output values of the test function. | |
Add a doctoring containing only a single message about what the test function is doing. | |
Don’t add any other comments anywhere. |




