Skip to main content

✅ Unit field names use cp

CategoryRegression
StatusPassing
Testtests/test_data_loader.py::test_unit_field_names_use_cp

PRECONDITIONS:

Preconditions

  • Unit data loaded from data/units.json

Action

  • Access field names on unit "001".

Expected Postconditions

  • unit has attribute cp — NEVER vp.

  • unit has attribute fcp — NEVER fvp.

  • Accessing .vp raises AttributeError.

  • Regression: confusion #11 / terminology.md — there is no VP in Evokers.

Assertions

assert hasattr(unit, "cp")
assert hasattr(unit, "fcp")
assert not hasattr(unit, "vp")
assert not hasattr(unit, "fvp")