15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
25
return sha.new(t).hexdigest()
39
34
while int(time.time()) == start:
47
38
class TestHashCache(TestCaseInTempDir):
49
40
def test_hashcache(self):
50
41
"""Functional tests for hashcache"""
52
45
# make a dummy bzr directory just to hold the cache
56
49
file('foo', 'wb').write('hello')