Skip to content

Commit c2f4185

Browse files
committed
Split tests
1 parent 27fcb51 commit c2f4185

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

tests/test_blurb.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,6 @@
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-
2812
@pytest.mark.parametrize("section", UNCHANGED_SECTIONS)
2913
def test_sanitize_section_no_change(section):
3014
sanitized = blurb.sanitize_section(section)

tests/test_template.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import blurb._template
2+
3+
4+
def test_section_names():
5+
assert tuple(blurb._template.sections) == (
6+
'Security',
7+
'Core and Builtins',
8+
'Library',
9+
'Documentation',
10+
'Tests',
11+
'Build',
12+
'Windows',
13+
'macOS',
14+
'IDLE',
15+
'Tools/Demos',
16+
'C API',
17+
)

0 commit comments

Comments
 (0)