4
spky
6y

Just spent two hours figuring out why some tests did not run correctly.

FYI: if you’re using pytest, do not forget the ‘s’ at the end of the usefixtures decorator.

@pytest.mark.usefixtures(‘session’)
class TestFoo:
pass

I feel so dumb!

Comments
Add Comment