pytester in one file