175
trans, root, contents, sha1 = self.get_transform_for_sha1_test()
176
trans_id = trans.new_file('file1', root, contents, file_id='file1-id',
185
self.assertEqual([(None, 'file1', trans._observed_sha1s[trans_id])],
174
188
def test_create_file_caches_sha1(self):
175
189
trans, root, contents, sha1 = self.get_transform_for_sha1_test()
176
190
trans_id = trans.create_path('file1', root)