read the docs mock pysam