custom decorator for py.test html report