comparison tests/test-notify.t @ 43323:84c15836a2d7 stable

py3: account for extra line break in email headers in test-notify.t Long headers appears to be wrapped with new lines. In test-notify.t, we have a "filter.py" that replaces "\n" by " ", so we get an extra space in a Message-Id with a long value.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Thu, 24 Oct 2019 16:56:36 +0200
parents d26a6706b070
children 90ee1f61504e
comparison
equal deleted inserted replaced
43322:7d912413a3ae 43323:84c15836a2d7
209 Content-Transfer-Encoding: 7bit 209 Content-Transfer-Encoding: 7bit
210 Date: * (glob) 210 Date: * (glob)
211 Subject: changeset in $TESTTMP/b: b 211 Subject: changeset in $TESTTMP/b: b
212 From: test@example.com 212 From: test@example.com
213 X-Hg-Notification: changeset 00a13f371396 213 X-Hg-Notification: changeset 00a13f371396
214 Message-Id: <hg.ba3098a36bd4c297288d16788623a841f81f618ea961a0f0fd65de7eb1191b66@example.com> 214 Message-Id: <hg.ba3098a36bd4c297288d16788623a841f81f618ea961a0f0fd65de7eb1191b66@example.com> (no-py3 !)
215 Message-Id: <hg.ba3098a36bd4c297288d16788623a841f81f618ea961a0f0fd65de7eb1191b66@example.com> (py3 !)
215 To: baz@example.com, foo@bar 216 To: baz@example.com, foo@bar
216 217
217 changeset 00a13f371396 in $TESTTMP/b 218 changeset 00a13f371396 in $TESTTMP/b
218 details: $TESTTMP/b?cmd=changeset;node=00a13f371396 219 details: $TESTTMP/b?cmd=changeset;node=00a13f371396
219 description: b 220 description: b