Just to note, suite.add_expectation() and suite.expectations.append() sometimes behave differently when adding the same expectation type more than once. suite.add_expectation() will attempt to de-dupe, replacing existing expectations, whereas suite.expectations.append() simply appends.