Try mock fix from https://github.com/trichter/rf/blob/master/docs/conf.py