I recently started to write unit test in python, and I am still not clear how do you actually work with the various assert.
I know the assertTrue, but what if I want to verify that a function return a specific string? assertTrue won't work because it just check for True or False, not for the string.
Aucun commentaire:
Enregistrer un commentaire