<commit_before>from urllib.parse import urlencode

from django.test import TestCase

from corehq.apps.saved_reports.models import ReportConfig
from corehq.apps.userreports.reports.view import ConfigurableReportView


class SavedReportTest(TestCase):

    @classmethod
    def setUpClass(cls):
        super(SavedReportTest, cls).setUpClass()
        cls.domain = 'saved-report-tests'

    @classmethod
    def tearDownClass(cls):
        super(SavedReportTest, cls).tearDownClass()

    def tearDown(self):
        self.saved_report_config.delete()
        super(SavedReportTest, self).tearDown()<commit_msg>minor test for query_string<commit_after>from urllib.parse import urlencode

from django.test import TestCase

from corehq.apps.saved_reports.models import ReportConfig
from corehq.apps.userreports.reports.view import ConfigurableReportView


class SavedReportURLTest(TestCase):

    @classmethod
    def setUpClass(cls):
        super(SavedReportURLTest, cls).setUpClass()
        cls.domain = 'saved-report-tests'

    @classmethod
    def tearDownClass(cls):
        super(SavedReportURLTest, cls).tearDownClass()

    def tearDown(self):
        self.saved_report_config.delete()
        super(SavedReportURLTest, self).tearDown()
{'fraction_non_alphanumeric': 0.08695652173913043, 'fraction_numerical': 0.0, 'mean_word_length': 4.136363636363637, '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': '2765601', 'n_tokens_mistral': 383, 'n_tokens_neox': 371, 'n_words': 72}