I am new to unit testing. I am writing some unit tests using Magicmock. I have a function which does nothing. I am unable to figure out how to test it.
This is my code:
def a(self):
pass
How to test if it is just passing?
Also, even the below code will have the same unit test as above?
if x == y:
return
Aucun commentaire:
Enregistrer un commentaire