1188
1188
def test_sha1provider_sha1_used(self):
1189
1189
tree, text = self._prepare_tree()
1190
1190
state = dirstate.DirState.from_tree(tree, 'dirstate',
1192
1192
self.addCleanup(state.unlock)
1193
1193
expected_sha = osutils.sha_string(text.upper() + "foo")
1194
1194
entry = state._get_entry(0, path_utf8='a file')