'L{DigestCredentialFactory.decode} raises L{LoginFailed} if the response
has no nonce.'

def test_noNonce(self):

    e = self.assertRaises(LoginFailed, self.credentialFactory.decode, self.formatResponse(opaque='abc123'), self.method, self.clientAddress.host)
    self.assertEqual(str(e), 'Invalid    response,    no    nonce    given.')
