'Create a patch object for class patches'

def start(self):

    for patch in self.patches:
        self.mocks[patch] = self.patches[patch].start()
    self.mocks['process'].communicate.return_value = ('', '')
    self.mocks['process'].returncode = 0
    self.mocks['popen'].return_value = self.mocks['process']
    self.mocks['docker'].return_value = self.mocks['docker_client']
    self.mocks['glob'].return_value = ['/tmp/rtd/foo.tex']
    self.mocks['conf_dir'].return_value = '/tmp/rtd'
