'L{calcHA2} accepts the C{\'md5\'} algorithm and returns an MD5 hash of
its arguments, excluding the entity hash for QOP other than
C{\'auth-int\'}.'

def test_MD5HashA2Auth(self, _algorithm='md5', _hash=md5):

    method = 'GET'
    hashA2 = calcHA2(_algorithm, method, self.uri, 'auth', None)
    a2 = ((method + ':') + self.uri)
    expected = hexlify(_hash(a2).digest())
    self.assertEqual(hashA2, expected)
