<commit_before>

import unittest

import PyMarkdownGen.PyMarkdownGen as md

class BlockquoteTests(unittest.TestCase):


    def test_block_quote(self):
        expected = \
"""> this is a
> block quote
> on multiple
> lines.
"""
        self.assertEqual(expected,
                         md.gen_block_quote(
                             "this is a\nblock quote\n"
                             "on multiple\r\nlines."))


    def test_block_quote_simple(self):<commit_msg>Add docstrings for tests of block qotes<commit_after>"""This module contains the unit tests for
   the formatting of block quotes.
   
"""

import unittest

import PyMarkdownGen.PyMarkdownGen as md

class BlockquoteTests(unittest.TestCase):
    """The test case (fixture) for testing block quotes."""

    def test_block_quote(self):
        """Tests block quotes that contains a '>'
           on every line.
           
        """
        
        expected = \
"""> this is a
> block quote
> on multiple
> lines.
"""
        self.assertEqual(expected,
                         md.gen_block_quote(
                             "this is a\nblock quote\n"
                             "on multiple\r\nlines."))


    def test_block_quote_simple(self):
        """Tests block quotes that contain a '>'
           only on the first line.
           
        """
        
{'fraction_non_alphanumeric': 0.09104477611940298, 'fraction_numerical': 0.0, 'mean_word_length': 1.7763975155279503, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '654836', 'n_tokens_mistral': 370, 'n_tokens_neox': 359, 'n_words': 104}