'Create a DigestCredentialFactory for testing'

def setUp(self):

    self.realm = 'test    realm'
    self.algorithm = 'md5'
    self.credentialFactory = digest.DigestCredentialFactory(self.algorithm, self.realm)
    self.request = self.makeRequest()
