<commit_before>import httpretty

from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.cpanel import ControlPanel


class TestPage(BaseTestCase):

    @httpretty.activate
    def test_fetch_payment_session_timeout(self):
        """Method defined to test fetch payment session timeout."""
        httpretty.register_uri(
            httpretty.get,
            self.endpoint_url("/integration/payment_session_timeout"),<commit_msg>Update control panel test for fetch<commit_after>import httpretty

from paystackapi.tests.base_test_case import BaseTestCase
from paystackapi.cpanel import ControlPanel


class TestPage(BaseTestCase):

    @httpretty.activate
    def test_fetch_payment_session_timeout(self):
        """Method defined to test fetch payment session timeout."""
        httpretty.register_uri(
            httpretty.GET,
            self.endpoint_url("/integration/payment_session_timeout"),
{'fraction_non_alphanumeric': 0.07142857142857142, 'fraction_numerical': 0.0, 'mean_word_length': 4.138888888888889, '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': '906223', 'n_tokens_mistral': 248, 'n_tokens_neox': 241, 'n_words': 56}