<commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import

from mock import patch
from eduid_common.api.testing import EduidAPITestCase
from eduid_common.authn.testing import TestVCCSClient
from eduid_userdb.password import Password
from eduid_userdb.exceptions import DocumentDoesNotExist
from eduid_webapp.security.app import security_init_app

__author__ = 'lundberg'


class SecurityResetPasswordTests(EduidAPITestCase):

    def setUp(self, create_user=True):
        self.test_user_eppn = 'hubba-bubba'
        super(SecurityResetPasswordTests, self).setUp()

    def load_app(self, config):<commit_msg>Password is now found in eduid_userdb.credentials<commit_after># -*- coding: utf-8 -*-
from __future__ import absolute_import

from mock import patch
from eduid_common.api.testing import EduidAPITestCase
from eduid_common.authn.testing import TestVCCSClient
from eduid_userdb.credentials import Password
from eduid_userdb.exceptions import DocumentDoesNotExist
from eduid_webapp.security.app import security_init_app

__author__ = 'lundberg'


class SecurityResetPasswordTests(EduidAPITestCase):

    def setUp(self, create_user=True):
        self.test_user_eppn = 'hubba-bubba'
        super(SecurityResetPasswordTests, self).setUp()

    def load_app(self, config):
{'fraction_non_alphanumeric': 0.07170393215111796, 'fraction_numerical': 0.0015420200462606013, 'mean_word_length': 5.656410256410257, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3104270', 'n_tokens_mistral': 412, 'n_tokens_neox': 401, 'n_words': 94}