How to implement xunit-style set-up - pytest documentation