Join Slack
Powered by
pants-adjacent: Does anybody know if you can make ...
# general
a
ambitious-actor-36781
08/08/2022, 7:24 AM
pants-adjacent: Does anybody know if you can make pytest autouse a fixture based on a mark?
✅ 1
b
bitter-ability-32190
08/08/2022, 10:24 AM
Always auto use the fixture, request the test request parameter, then bail if the test doesn't have the mark
a
ambitious-actor-36781
08/08/2022, 10:51 AM
hm. yeah could do that. cheers 👍
b
bitter-ability-32190
08/08/2022, 12:27 PM
Yup, I copied that strategy from another plugin 🙈
4
Views
Open in Slack
Previous
Next