<filename>python/tests/analyzer/test_section_analysis.py
from tests.util import match_object_snapshot
from tests.analyzer.util import analyze

input = """
# key
    ## key
###    key
    ####    key
# key
""".strip()

def test_field_analysis():
    analysis = analyze(input)

    assert match_object_snapshot(analysis, 'tests/analyzer/snapshots/section_analysis.snap.yaml')
