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

def test_noOpaque(self):

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