Which of the following decorator is used to skip a test if a given condition is false, with unittest?

Questions & AnswersCategory: Programming LanguageWhich of the following decorator is used to skip a test if a given condition is false, with unittest?
Adam asked 2 years ago

Which of the following decorator is used to skip a test if a given condition is false, with unittest?
a. unittest.skipUnless
b. unittest.skipIf
c. unittest.skipUntil
d. unittest.skip