<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:mod:`bankid.certutils` -- Certificate Utilities
================================================

Created 2016-04-10 by hbldh

"""

from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import

import os
import tempfile
import subprocess
import requests

from bankid.exceptions import BankIDError

_TEST_CERT_PASSWORD = "<PASSWORD>"
_TEST_CERT_URL = (
    "https://www.bankid.com/assets/bankid/rp/FPTestcert3_20200618.p12"
)
<commit_msg>Update test certificate url<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
:mod:`bankid.certutils` -- Certificate Utilities
================================================

Created 2016-04-10 by hbldh

"""

from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import

import os
import tempfile
import subprocess
import requests

from bankid.exceptions import BankIDError

_TEST_CERT_PASSWORD = "<PASSWORD>"
_TEST_CERT_URL = (
    "https://www.bankid.com/assets/bankid/rp/FPTestcert4_20220818.p12"
)

{'fraction_non_alphanumeric': 0.1688963210702341, 'fraction_numerical': 0.033444816053511704, 'mean_word_length': 5.724719101123595, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '5352526', 'n_tokens_mistral': 400, 'n_tokens_neox': 365, 'n_words': 89}