OCHA-DAP / pa-anticipatory-action

Code and documentation for analytical work on OCHA Anticipatory Action pilots.
GNU General Public License v3.0
14 stars 0 forks source link

Switched to pytest #163

Closed turnerm closed 3 years ago

turnerm commented 3 years ago

Quick switch to Pytest setup_class method instead of using the unittest.testcase class.

However, @mcarans I was wondering if there could be an even more pytest-y way to do this using fixtures. I use the class setup to collect a few variables that are used throughout several of the tests. I don't have much experience with using fixtures so I thought that you might have an idea for this specific case.

turnerm commented 3 years ago

Superseded by #179