| 12345678910111213 |
- # test_config.py/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro).
- # This copyright was auto-generated on Thu Feb 27 22:11:09 UTC 2025
- from pathlib import Path
- from kmp_proto_manipulator.entities.config import ProtoObjectScope
- from kmp_proto_manipulator.parsers.config import ConfigParser
- def test_parse_config(config_as_path: Path):
- config = ConfigParser.parse_config(config_as_path)
- assert len(config.root) == 11
- assert config.root["PresetSetting"].scope == ProtoObjectScope.PUBLIC
|