Files
kiauh/tests/features/line_parsing/data/case_parse_section.py
dw-0 64de883b3f Squashed 'kiauh/core/submodules/simple_config_parser/' changes from 7aa6586..47c353f
47c353f refactor: improve section regex
dd904bc test: add more test cases

git-subtree-dir: kiauh/core/submodules/simple_config_parser
git-subtree-split: 47c353f4e91e6be9605394b174834e1f34c9cfdf
2024-06-21 15:52:08 +02:00

9 lines
370 B
Python

testcases = [
("[test_section]", "test_section"),
("[test_section two]", "test_section two"),
("[section1] # inline comment", "section1"),
("[section2] ; second comment", "section2"),
("[include moonraker-obico-update.cfg]", "include moonraker-obico-update.cfg"),
("[include moonraker_obico_macros.cfg]", "include moonraker_obico_macros.cfg"),
]