File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/integration/synapseclient/models/async Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ async def _fetch_latest_entity(
494494
495495 return entity_info
496496 except Exception as e :
497- raise ValueError (
497+ raise LookupError (
498498 f"Unable to fetch entity information for { self .entity_id } : { e } "
499499 ) from e
500500
Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ async def test_fetch_latest_entity_success_async(self):
555555
556556 # Note: This test would need a real entity ID to work in practice
557557 # For now, we test the validation logic
558- with pytest .raises (ValueError , match = "Unable to fetch entity information" ):
558+ with pytest .raises (LookupError , match = "Unable to fetch entity information" ):
559559 await submission ._fetch_latest_entity (synapse_client = self .syn )
560560
561561 async def test_fetch_latest_entity_without_entity_id_async (self ):
You can’t perform that action at this time.
0 commit comments