Searched refs:write_file (Results 1 - 25 of 78) sorted by relevance

1234

/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/
H A Dtest_bdist_rpm.py58 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
59 self.write_file((pkg_dir, 'foo.py'), '#')
60 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
61 self.write_file((pkg_dir, 'README'), '')
103 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
104 self.write_file((pkg_dir, 'foo.py'), '#')
105 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
106 self.write_file((pkg_dir, 'README'), '')
H A Dtest_spawn.py35 self.write_file(exe, '#!/bin/sh\nexit 1')
39 self.write_file(exe, 'exit 1')
47 self.write_file(exe, '#!/bin/sh\nexit 0')
51 self.write_file(exe, 'exit 0')
H A Dtest_dep_util.py24 self.write_file(new_file)
42 self.write_file(one)
43 self.write_file(two)
44 self.write_file(four)
60 self.write_file(one)
61 self.write_file(two)
62 self.write_file(three)
H A Dtest_sdist.py68 self.write_file((self.tmp_dir, 'README'), 'xxx')
69 self.write_file((self.tmp_dir, 'somecode', '__init__.py'), '#')
70 self.write_file((self.tmp_dir, 'setup.py'), SETUP_PY)
99 self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx')
102 self.write_file((self.tmp_dir, 'somecode', '.hg',
106 self.write_file((self.tmp_dir, 'somecode', '.git',
109 self.write_file((self.tmp_dir, 'somecode', '.nfs0001'), 'xxx')
205 self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#')
206 self.write_file((self.tmp_dir, 'somecode', 'doc.dat'), '#')
211 self.write_file((data_di
[all...]
H A Dtest_bdist_dumb.py52 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
53 self.write_file((pkg_dir, 'foo.py'), '#')
54 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
55 self.write_file((pkg_dir, 'README'), '')
H A Dtest_upload.py75 self.write_file(self.rc, PYPIRC)
86 self.write_file(self.rc, PYPIRC_NOPASSWORD)
104 self.write_file(path)
107 self.write_file(self.rc, PYPIRC_LONG_PASSWORD)
H A Dtest_install_headers.py21 self.write_file(header1)
22 self.write_file(header2)
H A Dtest_file_util.py6 from distutils.file_util import move_file, write_file, copy_file namespace
65 write_file(foo, lines)
72 write_file(foo, 'content')
H A Dtest_install_data.py25 self.write_file(one, 'xxx')
28 self.write_file(two, 'xxx')
61 self.write_file(three, 'xx')
H A Dtest_archive_util.py62 self.write_file([tmpdir, 'file1'], 'xxx')
63 self.write_file([tmpdir, 'file2'], 'xxx')
65 self.write_file([tmpdir, 'sub', 'file3'], 'xxx')
110 self.write_file([dist, 'file1'], 'xxx')
111 self.write_file([dist, 'file2'], 'xxx')
113 self.write_file([dist, 'sub', 'file3'], 'xxx')
210 self.write_file([tmpdir, 'file1'], 'xxx')
211 self.write_file([tmpdir, 'file2'], 'xxx')
H A Dtest_install_lib.py41 self.write_file(f, '# python file')
61 self.write_file(f, '# python file')
78 self.write_file(f, '# python file')
H A Dtest_config.py85 self.write_file(self.rc, PYPIRC)
97 self.write_file(self.rc, PYPIRC_OLD)
H A Dtest_config_cmd.py74 self.write_file(f1, 'xxx')
75 self.write_file(f2, 'xxx')
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/
H A Dtest_bdist_rpm.py58 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
59 self.write_file((pkg_dir, 'foo.py'), '#')
60 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
61 self.write_file((pkg_dir, 'README'), '')
103 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
104 self.write_file((pkg_dir, 'foo.py'), '#')
105 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
106 self.write_file((pkg_dir, 'README'), '')
H A Dtest_spawn.py35 self.write_file(exe, '#!/bin/sh\nexit 1')
39 self.write_file(exe, 'exit 1')
47 self.write_file(exe, '#!/bin/sh\nexit 0')
51 self.write_file(exe, 'exit 0')
H A Dtest_dep_util.py24 self.write_file(new_file)
42 self.write_file(one)
43 self.write_file(two)
44 self.write_file(four)
60 self.write_file(one)
61 self.write_file(two)
62 self.write_file(three)
H A Dtest_sdist.py68 self.write_file((self.tmp_dir, 'README'), 'xxx')
69 self.write_file((self.tmp_dir, 'somecode', '__init__.py'), '#')
70 self.write_file((self.tmp_dir, 'setup.py'), SETUP_PY)
99 self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx')
102 self.write_file((self.tmp_dir, 'somecode', '.hg',
106 self.write_file((self.tmp_dir, 'somecode', '.git',
109 self.write_file((self.tmp_dir, 'somecode', '.nfs0001'), 'xxx')
205 self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#')
206 self.write_file((self.tmp_dir, 'somecode', 'doc.dat'), '#')
211 self.write_file((data_di
[all...]
H A Dtest_bdist_dumb.py52 self.write_file((pkg_dir, 'setup.py'), SETUP_PY)
53 self.write_file((pkg_dir, 'foo.py'), '#')
54 self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py')
55 self.write_file((pkg_dir, 'README'), '')
H A Dtest_upload.py75 self.write_file(self.rc, PYPIRC)
86 self.write_file(self.rc, PYPIRC_NOPASSWORD)
104 self.write_file(path)
107 self.write_file(self.rc, PYPIRC_LONG_PASSWORD)
H A Dtest_install_headers.py21 self.write_file(header1)
22 self.write_file(header2)
H A Dtest_file_util.py6 from distutils.file_util import move_file, write_file, copy_file namespace
65 write_file(foo, lines)
72 write_file(foo, 'content')
H A Dtest_install_data.py25 self.write_file(one, 'xxx')
28 self.write_file(two, 'xxx')
61 self.write_file(three, 'xx')
H A Dtest_archive_util.py62 self.write_file([tmpdir, 'file1'], 'xxx')
63 self.write_file([tmpdir, 'file2'], 'xxx')
65 self.write_file([tmpdir, 'sub', 'file3'], 'xxx')
110 self.write_file([dist, 'file1'], 'xxx')
111 self.write_file([dist, 'file2'], 'xxx')
113 self.write_file([dist, 'sub', 'file3'], 'xxx')
210 self.write_file([tmpdir, 'file1'], 'xxx')
211 self.write_file([tmpdir, 'file2'], 'xxx')
H A Dtest_install_lib.py41 self.write_file(f, '# python file')
61 self.write_file(f, '# python file')
78 self.write_file(f, '# python file')
H A Dtest_config.py85 self.write_file(self.rc, PYPIRC)
97 self.write_file(self.rc, PYPIRC_OLD)

Completed in 289 milliseconds

1234