meejah,
@meejah@mastodon.social avatar

@pkw It can definitely feel a little weird ... but it's hard to get some of the other very-useful fixture features (module/session scoping, parametrization, ..) with other mechanisms. It's also nice and short (although of course you need to "know" pytest to read the code)

The command-line library Click also does something a little similar with the option decorators (i.e. "magically" maps names)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines