Lines Matching refs:join
122 with open(os.path.join(root_dir, 'init'), 'w') as init_fp:
126 with open(os.path.join(origin_in, 'file'), 'w') as in_fp:
128 os.symlink('../etc', os.path.join(origin_in, 'symlink'))
140 os.path.join(in_dir, 'init'), os.path.join(root_dir, 'init')))
142 os.path.join(in_dir, 'system', 'file'),
143 os.path.join(origin_in, 'file')))
144 self.assertTrue(os.path.islink(os.path.join(in_dir, 'system', 'symlink')))
151 with open(os.path.join(root_dir, 'init'), 'w') as init_fp:
155 with open(os.path.join(origin_in, 'file'), 'w') as in_fp:
157 os.symlink('../etc', os.path.join(origin_in, 'symlink'))
171 os.path.join(in_dir, 'init'), os.path.join(root_dir, 'init')))
173 os.path.join(in_dir, 'system', 'file'),
174 os.path.join(origin_in, 'file')))
175 self.assertTrue(os.path.islink(os.path.join(in_dir, 'system', 'symlink')))