Skip to content

Commit 64cf897

Browse files
committed
fix test
1 parent 3829669 commit 64cf897

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hubspot_sync/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,9 @@ def get_hubspot_id_for_object( # noqa: C901
550550
raise
551551
return hubspot_obj.id
552552
elif raise_error:
553+
msg = f"Hubspot id could not be found for {content_type.name} for id {obj.id}"
553554
raise ValueError(
554-
f"Hubspot id could not be found for {content_type.name} for id {obj.id}"
555-
% (content_type.name, obj.id)
555+
msg
556556
)
557557

558558

0 commit comments

Comments
 (0)