Index: tests/test_id_lifecycle.py
===================================================================
--- tests/test_id_lifecycle.py	(revision 4ceca5724cee9fc801f725e205ea1281ea7dc908)
+++ tests/test_id_lifecycle.py	(revision e19883279f34e7305eb5973e6354a1b30f9176ec)
@@ -111,5 +111,5 @@
     q.approve()
     for _ in range(FlexOID.MAX_VERSION - 2):
-        q.sign()
+        q.bump_version()
     with pytest.raises(RuntimeError, match="mark obsolete"):
         q.sign()
Index: tests/test_id_stress.py
===================================================================
--- tests/test_id_stress.py	(revision 4ceca5724cee9fc801f725e205ea1281ea7dc908)
+++ tests/test_id_stress.py	(revision e19883279f34e7305eb5973e6354a1b30f9176ec)
@@ -93,6 +93,6 @@
 
     # 999 → 1000 should raise RuntimeError
-    with pytest.raises(RuntimeError):
-        q.sign()
+    with pytest.raises(ValueError):
+        q.publish()
 
 
