Cleanup runtests.py
Cleanup runtests.py

Reduce the number of pylint warnings and simplify the code a bit.

Change-Id: I49ff5fe5bbf9e03e6f3cc52e7313f6dc3e752e86
Reviewed-By: Priya Joshi <3c6cfa6f57440adfc837c4ad04483313acbc2582@morganstanley.com>

stdweird/aquilon,stdweird/aquilon,quattor/aquilon,guillaume-philippon/aquilon,guillaume-philippon/aquilon,quattor/aquilon,quattor/aquilon,guillaume-philippon/aquilon,stdweird/aquilon