I\'m using pytest for my selenium tests and wanted to know if it\'s possible to have multiple assertions in a single test?
I call a function that compares multiple v
def test_sample(texts): flag = True for text in texts: if text != "anything": flag = False if flag==False: pytest.fail("text did not match", pytrace=True)