예제 #1
0
def _get_output_replace_map():
    d = collections.OrderedDict()
    # ytc.test_output_path() is based on output_path()
    d[ytc.output_path()] = get_yt_sandbox_path('env/output_path')
    return d
예제 #2
0
def write_temp_file(content):
    import yatest.common as yc
    filename = yc.output_path('test.exports')
    with open(filename, 'w') as f:
        f.write(content)
    return filename