Skip to content

Commit

Permalink
siglal: rename temporarily_connected_to to connected_to
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Nov 11, 2024
1 parent fd089d6 commit 094184d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/services/components/test_signal_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _signal_sent(sender, **kwargs):
draft = service.create(identity_simple, minimal_record)
add_file_to_draft(identity_simple, draft.id, "test.zip", zip_file)

with post_publish_signal.temporarily_connected_to(_signal_sent):
with post_publish_signal.connected_to(_signal_sent):
# Publish
assert sentinel["called"] == False
record = service.publish(identity_simple, draft.id)
Expand Down

0 comments on commit 094184d

Please sign in to comment.