77
77
transform.create_file('contents', trans_id2)
78
78
transform.set_executability(False, trans_id2)
79
79
transform.version_file('my_pretties2', trans_id2)
81
81
self.assertEqual('contents', self.wt.get_file_byname('name').read())
82
82
self.assertEqual(self.wt.path2id('name'), 'my_pretties')
83
83
self.assertIs(self.wt.is_executable('my_pretties'), True)
84
84
self.assertIs(self.wt.is_executable('my_pretties2'), False)
85
85
self.assertEqual('directory', file_kind(self.wt.abspath('oz')))
86
90
# is it safe to finalize repeatedly?