mock must come first in conf.py