Mercurial > hg
annotate tests/phabricator/phabsend-skipped.json @ 43016:92c8bae84e7a
automation: increase size of Linux AMI build volume
I ran out of space attempting to build a few AMIs. Let's give
the environment an extra 2 GB to utilize.
Differential Revision: https://phab.mercurial-scm.org/D6915
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 29 Sep 2019 11:06:45 -0700 |
parents | 3355e0c2845f |
children |
rev | line source |
---|---|
42949
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
1 { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
2 "version": 1, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
3 "interactions": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
4 { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
5 "response": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
6 "headers": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
7 "x-xss-protection": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
8 "1; mode=block" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
9 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
10 "content-length": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
11 "6067" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
12 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
13 "content-type": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
14 "application/json" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
15 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
16 "expires": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
17 "Sat, 01 Jan 2000 00:00:00 GMT" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
18 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
19 "vary": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
20 "Accept-Encoding" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
21 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
22 "connection": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
23 "keep-alive" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
24 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
25 "strict-transport-security": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
26 "max-age=31536000; includeSubdomains; preload" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
27 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
28 "cache-control": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
29 "no-store" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
30 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
31 "referrer-policy": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
32 "no-referrer", |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
33 "strict-origin-when-cross-origin" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
34 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
35 "x-frame-options": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
36 "Deny" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
37 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
38 "date": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
39 "Tue, 17 Sep 2019 21:22:31 GMT" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
40 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
41 "x-content-type-options": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
42 "nosniff" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
43 ] |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
44 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
45 "body": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
46 "string": "{\"result\":{\"2175\":{\"id\":\"2175\",\"revisionID\":\"1253\",\"dateCreated\":\"1568754923\",\"dateModified\":\"1568754927\",\"sourceControlBaseRevision\":null,\"sourceControlPath\":null,\"sourceControlSystem\":null,\"branch\":null,\"bookmark\":null,\"creationMethod\":\"web\",\"description\":null,\"unitStatus\":\"4\",\"lintStatus\":\"4\",\"changes\":[{\"id\":\"5562\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"sOtQ9WtAYaL5\"},\"oldPath\":null,\"currentPath\":\"comment\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":{\"unix:filemode\":\"100644\"},\"type\":\"1\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"2\",\"delLines\":\"0\",\"hunks\":[{\"oldOffset\":\"0\",\"newOffset\":\"1\",\"oldLength\":\"0\",\"newLength\":\"2\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"+comment\\n+comment2\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"1acd4b60af38c934182468719a8a431248f49bef\",\"parent\":\"a19f1434f9a578325eb9799c9961b5465d4e6e40\",\"user\":\"test\"},\"local:commits\":{\"1acd4b60af38c934182468719a8a431248f49bef\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"1acd4b60af38c934182468719a8a431248f49bef\",\"parents\":[\"a19f1434f9a578325eb9799c9961b5465d4e6e40\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"},\"2172\":{\"id\":\"2172\",\"revisionID\":\"1253\",\"dateCreated\":\"1568752955\",\"dateModified\":\"1568752959\",\"sourceControlBaseRevision\":null,\"sourceControlPath\":null,\"sourceControlSystem\":null,\"branch\":null,\"bookmark\":null,\"creationMethod\":\"web\",\"description\":null,\"unitStatus\":\"4\",\"lintStatus\":\"4\",\"changes\":[{\"id\":\"5559\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"sOtQ9WtAYaL5\"},\"oldPath\":null,\"currentPath\":\"comment\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":{\"unix:filemode\":\"100644\"},\"type\":\"1\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"2\",\"delLines\":\"0\",\"hunks\":[{\"oldOffset\":\"0\",\"newOffset\":\"1\",\"oldLength\":\"0\",\"newLength\":\"2\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"+comment\\n+comment2\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"a2ee35bb90599d36732e25eaa3522e813807c436\",\"parent\":\"a19f1434f9a578325eb9799c9961b5465d4e6e40\",\"user\":\"test\"},\"local:commits\":{\"a2ee35bb90599d36732e25eaa3522e813807c436\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"a2ee35bb90599d36732e25eaa3522e813807c436\",\"parents\":[\"a19f1434f9a578325eb9799c9961b5465d4e6e40\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"},\"2171\":{\"id\":\"2171\",\"revisionID\":\"1253\",\"dateCreated\":\"1568752852\",\"dateModified\":\"1568752856\",\"sourceControlBaseRevision\":null,\"sourceControlPath\":null,\"sourceControlSystem\":null,\"branch\":null,\"bookmark\":null,\"creationMethod\":\"web\",\"description\":null,\"unitStatus\":\"4\",\"lintStatus\":\"4\",\"changes\":[{\"id\":\"5558\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"sOtQ9WtAYaL5\"},\"oldPath\":null,\"currentPath\":\"comment\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":{\"unix:filemode\":\"100644\"},\"type\":\"1\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"2\",\"delLines\":\"0\",\"hunks\":[{\"oldOffset\":\"0\",\"newOffset\":\"1\",\"oldLength\":\"0\",\"newLength\":\"2\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"+comment\\n+comment2\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"a2ee35bb90599d36732e25eaa3522e813807c436\",\"parent\":\"a19f1434f9a578325eb9799c9961b5465d4e6e40\",\"user\":\"test\"},\"local:commits\":{\"a2ee35bb90599d36732e25eaa3522e813807c436\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"a2ee35bb90599d36732e25eaa3522e813807c436\",\"parents\":[\"a19f1434f9a578325eb9799c9961b5465d4e6e40\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"},\"1990\":{\"id\":\"1990\",\"revisionID\":\"1253\",\"dateCreated\":\"1559939219\",\"dateModified\":\"1559939221\",\"sourceControlBaseRevision\":null,\"sourceControlPath\":null,\"sourceControlSystem\":null,\"branch\":null,\"bookmark\":null,\"creationMethod\":\"web\",\"description\":null,\"unitStatus\":\"4\",\"lintStatus\":\"4\",\"changes\":[{\"id\":\"5274\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"sOtQ9WtAYaL5\"},\"oldPath\":null,\"currentPath\":\"comment\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":{\"unix:filemode\":\"100644\"},\"type\":\"1\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"2\",\"delLines\":\"0\",\"hunks\":[{\"oldOffset\":\"0\",\"newOffset\":\"1\",\"oldLength\":\"0\",\"newLength\":\"2\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"+comment\\n+comment2\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"26e841a56a257327455a2d61b4cdce5a23603e0f\",\"parent\":\"bbe10799509c2879ee316782805e70541cd5fd67\",\"user\":\"test\"},\"local:commits\":{\"26e841a56a257327455a2d61b4cdce5a23603e0f\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"26e841a56a257327455a2d61b4cdce5a23603e0f\",\"parents\":[\"bbe10799509c2879ee316782805e70541cd5fd67\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"},\"1989\":{\"id\":\"1989\",\"revisionID\":\"1253\",\"dateCreated\":\"1559938985\",\"dateModified\":\"1559938988\",\"sourceControlBaseRevision\":null,\"sourceControlPath\":null,\"sourceControlSystem\":null,\"branch\":null,\"bookmark\":null,\"creationMethod\":\"web\",\"description\":null,\"unitStatus\":\"4\",\"lintStatus\":\"4\",\"changes\":[{\"id\":\"5273\",\"metadata\":{\"line:first\":1,\"hash.effect\":\"mzg_LBhhVYqb\"},\"oldPath\":null,\"currentPath\":\"comment\",\"awayPaths\":[],\"oldProperties\":[],\"newProperties\":{\"unix:filemode\":\"100644\"},\"type\":\"1\",\"fileType\":\"1\",\"commitHash\":null,\"addLines\":\"1\",\"delLines\":\"0\",\"hunks\":[{\"oldOffset\":\"0\",\"newOffset\":\"1\",\"oldLength\":\"0\",\"newLength\":\"1\",\"addLines\":null,\"delLines\":null,\"isMissingOldNewline\":null,\"isMissingNewNewline\":null,\"corpus\":\"+comment\\n\"}]}],\"properties\":{\"hg:meta\":{\"branch\":\"default\",\"date\":\"0 0\",\"node\":\"0025df7d064f9c916862d19e207429a0f799fa7d\",\"parent\":\"bbe10799509c2879ee316782805e70541cd5fd67\",\"user\":\"test\"},\"local:commits\":{\"0025df7d064f9c916862d19e207429a0f799fa7d\":{\"author\":\"test\",\"authorEmail\":\"test\",\"branch\":\"default\",\"commit\":\"0025df7d064f9c916862d19e207429a0f799fa7d\",\"parents\":[\"bbe10799509c2879ee316782805e70541cd5fd67\"],\"time\":0}}},\"authorName\":\"test\",\"authorEmail\":\"test\"}},\"error_code\":null,\"error_info\":null}" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
47 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
48 "status": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
49 "code": 200, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
50 "message": "OK" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
51 } |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
52 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
53 "request": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
54 "headers": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
55 "content-length": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
56 "66" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
57 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
58 "content-type": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
59 "application/x-www-form-urlencoded" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
60 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
61 "user-agent": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
62 "mercurial/proto-1.0 (Mercurial 5.1.1+7-32677ec7df40+20190917)" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
63 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
64 "accept": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
65 "application/mercurial-0.1" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
66 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
67 "host": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
68 "phab.mercurial-scm.org" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
69 ] |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
70 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
71 "body": "revisionIDs%5B0%5D=1253&api.token=cli-hahayouwish", |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
72 "uri": "https://phab.mercurial-scm.org//api/differential.querydiffs", |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
73 "method": "POST" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
74 } |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
75 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
76 { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
77 "response": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
78 "headers": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
79 "x-xss-protection": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
80 "1; mode=block" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
81 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
82 "content-length": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
83 "1055" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
84 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
85 "content-type": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
86 "application/json" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
87 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
88 "expires": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
89 "Sat, 01 Jan 2000 00:00:00 GMT" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
90 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
91 "vary": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
92 "Accept-Encoding" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
93 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
94 "connection": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
95 "keep-alive" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
96 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
97 "strict-transport-security": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
98 "max-age=31536000; includeSubdomains; preload" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
99 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
100 "cache-control": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
101 "no-store" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
102 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
103 "referrer-policy": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
104 "no-referrer", |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
105 "strict-origin-when-cross-origin" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
106 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
107 "x-frame-options": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
108 "Deny" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
109 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
110 "date": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
111 "Tue, 17 Sep 2019 21:22:32 GMT" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
112 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
113 "x-content-type-options": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
114 "nosniff" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
115 ] |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
116 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
117 "body": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
118 "string": "{\"result\":[{\"id\":\"1253\",\"phid\":\"PHID-DREV-4rhqd6v3yxbtodc7wbv7\",\"title\":\"create comment for phabricator test\",\"uri\":\"https:\\/\\/phab.mercurial-scm.org\\/D1253\",\"dateCreated\":\"1559938988\",\"dateModified\":\"1568754928\",\"authorPHID\":\"PHID-USER-qmzis76vb2yh3ogldu6r\",\"status\":\"0\",\"statusName\":\"Needs Review\",\"properties\":{\"draft.broadcast\":true,\"lines.added\":2,\"lines.removed\":0,\"buildables\":{\"PHID-HMBB-hsvjwe4uccbkgjpvffhz\":{\"status\":\"passed\"},\"PHID-HMBB-fwvmqztsgs3r3tpz3q5x\":{\"status\":\"passed\"},\"PHID-HMBB-hkx7mvm7pfacmg2pwwo2\":{\"status\":\"passed\"},\"PHID-HMBB-qfk7ksky77lpzlmzojtz\":{\"status\":\"passed\"},\"PHID-HMBB-p5eo6q67kttzuhdtg2d3\":{\"status\":\"passed\"}}},\"branch\":null,\"summary\":\"\",\"testPlan\":\"\",\"lineCount\":\"2\",\"activeDiffPHID\":\"PHID-DIFF-pigorrruetzslmwaard3\",\"diffs\":[\"2175\",\"2172\",\"2171\",\"1990\",\"1989\"],\"commits\":[],\"reviewers\":[],\"ccs\":[],\"hashes\":[],\"auxiliary\":{\"bugzilla.bug-id\":null,\"phabricator:projects\":[],\"phabricator:depends-on\":[]},\"repositoryPHID\":\"PHID-REPO-bvunnehri4u2isyr7bc3\",\"sourcePath\":null}],\"error_code\":null,\"error_info\":null}" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
119 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
120 "status": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
121 "code": 200, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
122 "message": "OK" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
123 } |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
124 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
125 "request": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
126 "headers": { |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
127 "content-length": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
128 "58" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
129 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
130 "content-type": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
131 "application/x-www-form-urlencoded" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
132 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
133 "user-agent": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
134 "mercurial/proto-1.0 (Mercurial 5.1.1+7-32677ec7df40+20190917)" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
135 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
136 "accept": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
137 "application/mercurial-0.1" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
138 ], |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
139 "host": [ |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
140 "phab.mercurial-scm.org" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
141 ] |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
142 }, |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
143 "body": "ids%5B0%5D=1253&api.token=cli-hahayouwish", |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
144 "uri": "https://phab.mercurial-scm.org//api/differential.query", |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
145 "method": "POST" |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
146 } |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
147 } |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
148 ] |
3355e0c2845f
py3: add test demonstrating TypeError when phabsending skips unchanged commits
Ian Moody <moz-ian@perix.co.uk>
parents:
diff
changeset
|
149 } |