def load_from_file(sbox):
    'svnadmin load --file ARG'
    sbox.build(empty=True)
    file = sbox.get_tempname()
    with open(file, 'wb') as f:
        f.writelines(clean_dumpfile())
    svntest.actions.run_and_verify_svnadmin2(None, [], 0, 'load', '--file', file, '--ignore-uuid', sbox.repo_dir)
    expected_tree = svntest.wc.State('', {'A': svntest.wc.StateItem(contents='text\n', props={'svn:keywords': 'Id'})})
    svntest.actions.run_and_verify_svn(svntest.verify.AnyOutput, [], 'update', sbox.wc_dir)
    svntest.actions.verify_disk(sbox.wc_dir, expected_tree, check_props=True)
svnadmin load --file ARG
def load_from_file(sbox):
    
    sbox.build(empty=True)
    file = sbox.get_tempname()
    with open(file, 'wb') as f:
        f.writelines(clean_dumpfile())
    svntest.actions.run_and_verify_svnadmin2(None, [], 0, 'load', '--file', file, '--ignore-uuid', sbox.repo_dir)
    expected_tree = svntest.wc.State(, {'A': svntest.wc.StateItem(contents='text\n', props={'svn:keywords': 'Id'})})
    svntest.actions.run_and_verify_svn(svntest.verify.AnyOutput, [], 'update', sbox.wc_dir)
    svntest.actions.verify_disk(sbox.wc_dir, expected_tree, check_props=True)