PyTest - Writing Assertions
Which of the following is the correct syntax to add a message to an assert statement in pytest?
assert condition, message.assert x == 5, "x should be 5" is correct.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions