Open pwyllcrusader opened 3 weeks ago
I'm not that found of mutating objects to run tests, why don't you create new types with different names and args for each test?
Anyway, I'd take a patch/PR, but I can't work on this atm
I'm not that found of mutating objects to run tests, why don't you create new types with different names and args for each test?
It helps when I use one operation fixture for all tests
Anyway, I'd take a patch/PR, but I can't work on this atm
It seems that I have no permission to push branch, otherwise I'd create it already
🚀 Feature Request
Description
Allow updating Operation name and args after its initialization
In some cases (for automated tests) this allows to avoid code duplication while using pytest fixtures *
Implementation details
just putting this piece of code into Operation class worked for me:
*