<commit_before>from django.test import TestCase

from cms.models import Page
from cms.tests.model_maker import make_page


class TestContent(TestCase):

    def setUp(self):
        self.page = make_page('Home', 0)
        self.page = make_page('Information', 1)
        self.page = make_page('Portfolio', 2)

    def test_menu(self):
        self.assertEqual(3, len(Page.objects.menu()))

    def test_menu_in(self):
        result = [p.slug for p in Page.objects.menu()]
        self.assertListEqual(
            ['home', 'information', 'portfolio'],
            result
        )<commit_msg>test name<commit_after>from django.test import TestCase

from cms.models import Page
from cms.tests.model_maker import make_page


class TestPage(TestCase):

    def setUp(self):
        self.page = make_page('Home', 0)
        self.page = make_page('Information', 1)
        self.page = make_page('Portfolio', 2)

    def test_menu(self):
        self.assertEqual(3, len(Page.objects.menu()))

    def test_menu_in(self):
        result = [p.slug for p in Page.objects.menu()]
        self.assertListEqual(
            ['home', 'information', 'portfolio'],
            result
        )
{'fraction_non_alphanumeric': 0.12213740458015267, 'fraction_numerical': 0.006785411365564037, 'mean_word_length': 2.710691823899371, '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': '6473802', 'n_tokens_mistral': 364, 'n_tokens_neox': 356, 'n_words': 85}