def METHOD_NAME(self):
    with tempfile.NamedTemporaryFile(mode='w', dir=os.path.join(current_dir, '1'), delete=False) as f:
        self.addCleanup(os.unlink, f.name)
        bins = [('0x1000', '1.bin'), ('0x8000', '2.bin'), ('0x10000', '3.bin')]
        json.dump({'flash_files': collections.OrderedDict(bins)}, f)
    self.common_test(json_input=f.name, output_to_compare='1/dfu.bin')