feat(admin-config-tool): task 5.4 - golden-file build determinism tests
tests/fixtures/{minimal,full}/configs/*.yaml + checked-in expected.bin
golden files, added to test_config_build.py. Catches representation
drift (bytes changing even when decoded content stays correct) that
the existing structural/decode-based assertions can't detect.
This commit is contained in:
parent
b5040e0877
commit
48a5a0b4e6
13 changed files with 481 additions and 3 deletions
8
src/xceadmin/tests/fixtures/minimal/configs/hosts.yaml
vendored
Normal file
8
src/xceadmin/tests/fixtures/minimal/configs/hosts.yaml
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
hosts:
|
||||
- hostname: worker1
|
||||
type: x86_64-linux-gnu
|
||||
max_slot: 8
|
||||
hostgroups:
|
||||
- groupname: all_hosts
|
||||
members:
|
||||
- worker1
|
||||
3
src/xceadmin/tests/fixtures/minimal/configs/queues.yaml
vendored
Normal file
3
src/xceadmin/tests/fixtures/minimal/configs/queues.yaml
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
queues:
|
||||
- name: normal
|
||||
priority: 30
|
||||
BIN
src/xceadmin/tests/fixtures/minimal/expected.bin
vendored
Normal file
BIN
src/xceadmin/tests/fixtures/minimal/expected.bin
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue