I currently have a set of pytest unit tests in a flask app in a similar fashion as below. I have set up fixtures to test multiple scenarios. They are also separated into classes