37
38
"commit", ("myrevid", "cc9462f7f8263ef5adfbeff2fb936bb36b504cba"))
39
41
("commit", ("myrevid", "cc9462f7f8263ef5adfbeff2fb936bb36b504cba")),
40
42
self.map.lookup_git_sha("5686645d49063c73d35436192dfc9a160c672301"))
42
44
def test_lookup_notfound(self):
44
46
self.map.lookup_git_sha, "5686645d49063c73d35436192dfc9a160c672301")
47
49
thesha = "5686645d49063c73d35436192dfc9a160c672301"
48
51
self.map.add_entry(thesha, "blob", ("myfileid", "myrevid"))
50
54
("blob", ("myfileid", "myrevid")),
51
55
self.map.lookup_git_sha(thesha))