Changeset 4af65b0 in flexoentity for tests


Ignore:
Timestamp:
11/04/25 20:20:01 (2 months ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
73d392f
Parents:
bf30018
Message:

initial logging support

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/test_id_lifecycle.py

    rbf30018 r4af65b0  
    7979    # simulate tampering
    8080    q.text = "Tampered text"
    81     print(FlexoEntity.debug_integrity(q))
    8281    assert not FlexoEntity.verify_integrity(q)
    8382
  • tests/test_persistance_integrity.py

    rbf30018 r4af65b0  
    3434    """
    3535    json_str = approved_question.to_json()
    36     print("JSON", json_str)
    3736    loaded = SingleChoiceQuestion.from_json(json_str)
    3837
    39     print("Approved", approved_question.text_seed)
    40     print("Loaded", loaded.text_seed)
    4138    # Fingerprint and state should match — integrity must pass
    4239    assert SingleChoiceQuestion.verify_integrity(loaded)
Note: See TracChangeset for help on using the changeset viewer.