'Create a temporary input file and a temporary output-file.'

def __setup(self, inputlines):

    outputfile = NamedTemporaryFile('w', suffix='.json', delete=False)
    outputfile.write('---    empty    marker    ---')
    outputfile.close()
    self.output_filename = outputfile.name
    time.sleep(1)
    inputfile = NamedTemporaryFile('w', suffix='.txt', delete=False)
    for line in inputlines:
        inputfile.writelines((line, '\n'))
    inputfile.close()
    self.input_filename = inputfile.name
