

def setUp(self):
    (_, self.tmppath) = mkstemp()
    f = open(self.tmppath, 'w+')
    f.write(self.CONFIG)
    f.close()
    self.app = self.make_app('tests', extensions=['json'], output_handler='json', config_handler='json', config_files=[self.tmppath], argv=['-o', 'json'])

dataset/ETHPy150Open datafolklabs/cement/tests/ext/json_tests.py JsonExtTestCase.setUp/original