Crown-Commercial-Service / govuk-frontend-jinja

Tools to use the GOV.UK Design System with Python webapps that use Jinja2 and Flask 🐍
MIT License
9 stars 6 forks source link

Add pyflakes to catch duplicate test names and other small code issues #38

Closed lfdebrux closed 5 years ago

lfdebrux commented 5 years ago

In #37 @risicle noticed after we had merged that a test was being overwritten by a test with the same name in the same file.

This PR fixes that issue; to make sure that similar things don't happen in future it also adds pyflakes to the test suite, which should catch this sort of thing.