See above for my reasoning on code organisation. I tend to write quite functional code too but I'll have a TestCase class with multiple test_* methods for testing the function.
I stand by my mistrust of pytest fixtures though - sorcery and black magic. (But I will go and take another look at them on your recommendation).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
See above for my reasoning on code organisation. I tend to write quite functional code too but I'll have a
TestCase
class with multipletest_*
methods for testing the function.I stand by my mistrust of pytest fixtures though - sorcery and black magic. (But I will go and take another look at them on your recommendation).