@@ -39,16 +39,16 @@ def test_heading_no_subtitle(self):
39
39
expected_string = self .read_test_file (self .processor_name , 'heading_no_subtitle_expected.html' , strip = True )
40
40
self .assertEqual (expected_string , converted_test_string )
41
41
42
- def test_heading_with_punctation (self ):
42
+ def test_heading_with_punctuation (self ):
43
43
'''Tests that a heading is parsed correctly
44
44
'''
45
- test_string = self .read_test_file (self .processor_name , 'heading_with_punctation .md' )
45
+ test_string = self .read_test_file (self .processor_name , 'heading_with_punctuation .md' )
46
46
blocks = self .to_blocks (test_string )
47
47
48
48
self .assertListEqual ([True , False , False , True ], [self .block_processor .test (blocks , block ) for block in blocks ], msg = '"{}"' .format (test_string ))
49
49
50
50
converted_test_string = markdown .markdown (test_string , extensions = [self .verto_extension ])
51
- expected_string = self .read_test_file (self .processor_name , 'heading_with_punctation_expected .html' , strip = True )
51
+ expected_string = self .read_test_file (self .processor_name , 'heading_with_punctuation_expected .html' , strip = True )
52
52
self .assertEqual (expected_string , converted_test_string )
53
53
54
54
def test_heading_subtitle_false (self ):
@@ -87,16 +87,16 @@ def test_heading_with_subtitle(self):
87
87
expected_string = self .read_test_file (self .processor_name , 'heading_with_subtitle_expected.html' , strip = True )
88
88
self .assertEqual (expected_string , converted_test_string )
89
89
90
- def test_heading_with_subtitle_with_punctation (self ):
90
+ def test_heading_with_subtitle_with_punctuation (self ):
91
91
'''Tests that both a heading and subtitle is parsed correctly
92
92
'''
93
- test_string = self .read_test_file (self .processor_name , 'heading_with_subtitle_with_punctation .md' )
93
+ test_string = self .read_test_file (self .processor_name , 'heading_with_subtitle_with_punctuation .md' )
94
94
blocks = self .to_blocks (test_string )
95
95
96
96
self .assertListEqual ([True , False , False , False , True ], [self .block_processor .test (blocks , block ) for block in blocks ], msg = '"{}"' .format (test_string ))
97
97
98
98
converted_test_string = markdown .markdown (test_string , extensions = [self .verto_extension ])
99
- expected_string = self .read_test_file (self .processor_name , 'heading_with_subtitle_with_punctation_expected .html' , strip = True )
99
+ expected_string = self .read_test_file (self .processor_name , 'heading_with_subtitle_with_punctuation_expected .html' , strip = True )
100
100
self .assertEqual (expected_string , converted_test_string )
101
101
102
102
def test_heading_with_subtitle_h2_heading_in_panel (self ):
0 commit comments