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
23
28
return sha.new(t).hexdigest()
30
39
while int(time.time()) == start:
34
47
class TestHashCache(TestCaseInTempDir):
36
49
def test_hashcache(self):
37
50
"""Functional tests for hashcache"""
41
52
# make a dummy bzr directory just to hold the cache
45
56
file('foo', 'wb').write('hello')