Mike Reeves
d5c0ec4404
so-yaml_test: cover loadYaml error paths
...
Exercises the FileNotFoundError and generic-exception branches added to
loadYaml in the previous commit, restoring 100% coverage required by
the build.
2026-04-22 14:30:51 -04:00
Mike Reeves
ddb26a9f42
Add test for raw dict output in so-yaml get to reach 100% coverage
...
Covers the dict/list branch in raw mode (line 358) that was missing
test coverage.
2026-03-16 17:19:14 -04:00
Mike Reeves
4a89f7f26b
Add -r flag to so-yaml get for raw output without YAML formatting
...
Preserve default get behavior with yaml.safe_dump output for backwards
compatibility. Add -r flag for clean scalar output used by soup pcap
migration.
2026-03-13 16:24:41 -04:00
Mike Reeves
12dec366e0
Fix so-yaml get to output booleans in YAML format and add bool test
2026-03-13 15:58:47 -04:00
Mike Reeves
1713f6af76
Fix so-yaml tests to match scalar output without document end marker
2026-03-13 15:53:53 -04:00
Matthew Wright
7fa01f5fd5
added new funcs to so-yaml.py to support gemini tests
2026-02-19 16:20:44 -05:00
Josh Patterson
ef092e2893
rename to removelistitem
2025-12-02 15:01:32 -05:00
Josh Patterson
e871ec358e
need additional line bw class
2025-12-02 14:43:33 -05:00
Josh Patterson
d6bd951c37
add new so-yaml_test for removefromlist
2025-12-02 14:31:57 -05:00
Jason Ertel
80fbb31372
fix test
2025-11-11 17:04:19 -05:00
Jason Ertel
0545e1d33b
add support to so-yaml for using yaml file content for values
2025-11-11 16:55:00 -05:00
Jason Ertel
f96b82b112
gracefully handle missing parent key
2024-06-08 07:44:46 -04:00
Jason Ertel
5600fed9c4
add ability to retrieve yaml values via so-yaml.py; improve so-minion id matching
2024-06-06 11:56:07 -04:00
Jason Ertel
3aea2dec85
analytics
2024-04-01 09:50:18 -04:00
m0duspwnens
24fd3ef8cc
uopdate error message
2024-02-06 16:22:13 -05:00
m0duspwnens
b3f6153667
update so-yaml tests
2024-02-06 16:15:54 -05:00
m0duspwnens
9d62ade32e
update so-yaml tests
2024-02-06 11:14:27 -05:00
Jason Ertel
6356a0bf95
add support for nested keys
2023-11-20 16:18:30 -05:00
Jason Ertel
bc044fa2d5
more coverage
2023-11-08 18:42:06 -05:00
Jason Ertel
9317e51f20
add yaml helper script; refactor python testing
2023-11-08 18:26:37 -05:00
Jason Ertel
33a8ef1568
add yaml helper script; refactor python testing
2023-11-08 18:24:23 -05:00