14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28
23
return sha.new(t).hexdigest()
39
30
while int(time.time()) == start:
49
36
def test_hashcache(self):
50
37
"""Functional tests for hashcache"""
52
42
# make a dummy bzr directory just to hold the cache
56
46
file('foo', 'wb').write('hello')