PyTest - Writing Assertions
You want to verify that a function
fetch_data() returns a list containing exactly 3 elements. Which pytest assert statement is most appropriate?def test_fetch_data():
data = fetch_data()
# Choose the correct assert