Skip to content

Commit 88d99eb

Browse files
arthurprsjleclanche
authored andcommitted
fix APNS test after introduction of APNS_MAX_NOTIFICATION_SIZE
1 parent ff2016b commit 88d99eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_apns_push_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ def test_using_extra(self):
2727
def test_oversized_payload(self):
2828
socket = mock.MagicMock()
2929
with mock.patch("push_notifications.apns._apns_pack_frame") as p:
30-
self.assertRaises(APNSDataOverflow, _apns_send, "123", "_" * 257, socket=socket)
30+
self.assertRaises(APNSDataOverflow, _apns_send, "123", "_" * 2049, socket=socket)
3131
p.assert_has_calls([])

0 commit comments

Comments
 (0)