def METHOD_NAME(self):
    cfg = {'cryptoki_version': [2, 40],
           'library_version': [2,5],
           'platform-name': "DCP"
           }
    self._dummy_files = []
    self._dummy_files.append(tempfile.NamedTemporaryFile(mode='w',
                                                         delete=False))
    json.dump(cfg, self._dummy_files[-1])
    self._dummy_files[-1].close()
    cfg['key_path'] = '/tmp/key'
    self._dummy_files.append(tempfile.NamedTemporaryFile(mode='w',
                                                         delete=False))
    json.dump(cfg, self._dummy_files[-1])
    self._dummy_files[-1].close()