Changeset e198832 in flexoentity for tests


Ignore:
Timestamp:
10/26/25 17:35:48 (3 months ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
master
Children:
3bad43e
Parents:
c98728b
Message:

fix test errors

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/test_id_lifecycle.py

    rc98728b re198832  
    111111    q.approve()
    112112    for _ in range(FlexOID.MAX_VERSION - 2):
    113         q.sign()
     113        q.bump_version()
    114114    with pytest.raises(RuntimeError, match="mark obsolete"):
    115115        q.sign()
  • tests/test_id_stress.py

    rc98728b re198832  
    9393
    9494    # 999 → 1000 should raise RuntimeError
    95     with pytest.raises(RuntimeError):
    96         q.sign()
     95    with pytest.raises(ValueError):
     96        q.publish()
    9797
    9898
Note: See TracChangeset for help on using the changeset viewer.