engine/tests, engine/views:

PEP8 fixes.