Skip to content

Commit 18430e8

Browse files
authored
Add a test for section names (#46)
1 parent e7ea718 commit 18430e8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/test_blurb.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@
99
)
1010

1111

12+
def test_section_names():
13+
assert tuple(blurb.sections) == (
14+
'Security',
15+
'Core and Builtins',
16+
'Library',
17+
'Documentation',
18+
'Tests',
19+
'Build',
20+
'Windows',
21+
'macOS',
22+
'IDLE',
23+
'Tools/Demos',
24+
'C API',
25+
)
26+
27+
1228
@pytest.mark.parametrize("section", UNCHANGED_SECTIONS)
1329
def test_sanitize_section_no_change(section):
1430
sanitized = blurb.sanitize_section(section)

0 commit comments

Comments
 (0)