~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_hashcache.py

Abbreviate pack_stat struct format to '>6L'

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from bzrlib.errors import BzrError
23
23
from bzrlib.hashcache import HashCache
24
24
from bzrlib.tests import (
 
25
    TestCaseInTempDir,
 
26
    )
 
27
from bzrlib.tests.features import (
25
28
    OsFifoFeature,
26
 
    TestCaseInTempDir,
27
29
    )
28
30
 
29
31
 
30
 
def sha1(t):
31
 
    return osutils.sha(t).hexdigest()
 
32
sha1 = osutils.sha_string
32
33
 
33
34
 
34
35
def pause():