def test_MD5HashResponseExtra(self, _algorithm='md5', _hash=md5):
        hashA1 = 'abc123'
        hashA2 = '789xyz'
        nonce = 'lmnopq'
        nonceCount = '00000004'
        clientNonce = 'abcxyz123'
        qop = 'auth'

        response = '%s:%s:%s:%s:%s:%s' % (
            hashA1, nonce, nonceCount, clientNonce, qop, hashA2)
        expected = _hash(response).hexdigest()

        digest = calcResponse(
            hashA1, hashA2, _algorithm, nonce, nonceCount, clientNonce, qop)
        self.assertEqual(expected, digest)
Validate passed name variable.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_digestauth.py/DigestAuthTests.test_MD5HashResponseExtra--crossover with--dataset/ETHPy150Open Relrin/aiorest-ws/aiorest_ws/validators.py/EndpointNameValidator.validate