Pytests: Used pip for pytest installation because python-pytest is not available on pure precise, lucid and rhel 5/6.