lucyparsons / OpenOversight

Police oversight and accountability through public data 👮
https://openoversight.com
GNU General Public License v3.0
237 stars 79 forks source link

Refactor `test_singular_redirects.py` file #1027

Closed michplunkett closed 1 year ago

michplunkett commented 1 year ago

What issue are you seeing?

A lot of those tests are boilerplate and thusly are far more lines of code than they should be. It'd be great to have a lot of these tests refactored to be something like this: https://github.com/lucyparsons/OpenOversight/blob/5c3b0153a20d9d31692eb200a5a65139c230e360/OpenOversight/tests/routes/test_singular_redirects.py#L630-L646