Commit 04e4f082 authored by Meet Mangukiya's avatar Meet Mangukiya

test_github_merge_request: Add tests for GitHub-MR

Adds to #34
parent c05d8be2
interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [GitMate]
method: GET
uri: https://api.github.com/repos/gitmate-test-user/test/pulls/7
response:
body:
string: !!binary |
H4sIAAAAAAAAA+1b227jNhD9lUKvtSPJlixbQLH9iO1Li8KgJMpmo1slKkFWyL/3DEXJ1ziJmYdF
oYcENs05HA5vM2fIzmrrzAqtvZRVE9o2q8TDTsh9Gz3EZW7XvCobGwU5k3wueSPnbcNrmz7ZVZtl
jR1YM0skVugHjusGvjMDVp5tT2GPIG+AKaxEpOmd0g8kC4iKyXh/L4YSpj41TcvPQD5jHSXfm6do
84jXVhjMrEbCkLB3WfECjWRl/MhhvJRlDZ9ZUsiMfiXz/sLiR7st8B/1yOhW2KH+ThSocGFEPQju
arV2nSUGgT0xyepz/VVh4+ghJtS4LCQvpBrt1h7kvz39tgTkrtYwNMAW6XFrshDclckCsU/OCEik
ZZaVz8A778Hp/HyjSXsUH6FEsTOBgnhnl3LPYVJ085WMIxp5p3pKtMO6auRWJASGeVHXPLlPRS0M
BZ8L6NapZatQ26iJa1FJURZ3qnoCAciy3rFC/GAGkIBogKT2lvs6rEQBwZ8wde/E6GU7u6rFE4tf
yFw1j7l4wiiY4J6BAFa+VLSo/6A1jDERkm9ZktM6Vsv+dWZFZfLSL7C45tggki2T+L5w3NXccecL
77u7Cb0gdDd/AqGtkht1PJ/qxFnZaJgC2/TMynm9uyzYYtnnQm6bPUN7AVvF6TLwFwuXecxbR8Em
ddzI9ZYR52nkrr3NJnHZCvisacSu4OhXDz98b6zwr7/Jkv9i86OO1PxJcFrI/Q+5yFBeFqNgr8A7
Y/iRY8jWSGocqU3Vt/fnx4exCeoC/Pb8/QD2oGRn96cEzcMvUHw4fZRVtOZ09mDzMrH1AGGnq2QR
BfFqtQwWi+WKORuH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lJozJGdq65VyT1gZt+l5XXng4sevPfG+Cjxvs04Tz/XjlCXx0o99Hi3W0Xrju3ztOOnS
R6KA8vIT8T4R77hlcP2awES833G3wv6Z+LSJeFcb3HTd5fy22HTdRTmh03UXfd1lIt4/fddyIt4n
4p1C2Yl4/+wtZYSLE/HepzEm4t2EApqId5UUGCn9iXifiPeJeB/uM5vsLBPx/vYjo4l4n4j3/yfx
vs1EgaAGN1UbnuGSe2ft+8vuJm/xQOjTNbYraO+mTdR7PjzBA4Qy+BWMu96/AW9wFb4I8vCoAdhn
jz0Mm9BvGm+08CUNXF4H0FaCg/UlDQTDPQkazuESjyHy5x9/UH6pf3g05rrUVxbRM0d97bLmlII6
KRorbalNurediFq+IP7Vz5giPJfqM2OHqYU818VcQFnORCHxh5d7MSu2eYlHopDWjZO4sjlyaCxJ
hHrWZoULypllXH8DSrzHpSUkVVM671H79T8DH+4NOTsAAA==
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:39 GMT']
ETag: [W/"a351086c9e6fe566262d62b39e63afec"]
Last-Modified: ['Tue, 06 Jun 2017 16:58:04 GMT']
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP', Accept-Encoding]
X-Accepted-OAuth-Scopes: ['']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['8606:13F60:3B0A1E7:4D230D7:5937BC7E']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4985']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.099228']
X-Served-By: [77fbfb53269bbb85f82f23584d59f7c1]
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [GitMate]
method: GET
uri: https://api.github.com/repos/gitmate-test-user/test/pulls/7/files
response:
body:
string: !!binary |
H4sIAAAAAAAAA51RTUvEMBT8KyEet7tts2m6uyBWcI9evLoir8nLNtgmpUnZg/jfTfzARRBUyGEy
j8m8mdw/U98B3VHQApUErbguleJ1Wwm92VZY8KLUWNRCqw0gUzSj2vRoYcCouttf39zuV0OifYAw
+0gOThltMHGglAnG2UizjCrs8eNWZFR2YI/4Pml71z7OUx/VXQij3+X50YRublfSDQkOEHAZ0Ifl
7HHKE8qTKNdCsbaWQqxrxtYCim0BDGquNENea86g4rwSbX6+6gSnP7tFzf/MpLMBbfDfHGE0q7OM
E47O/5T084mvEFcT6svfZo8fMUKQXWy3aciyzBhZlBknTXOw5IKkMiOAN0DSIge7iAdILH8wJpDQ
QSASLHEWCcgn6049qiPSl4dX/6g4J0ECAAA=
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:40 GMT']
ETag: [W/"375ee9fb03e681803bc19fc3225108f9"]
Last-Modified: ['Tue, 06 Jun 2017 16:58:04 GMT']
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP']
X-Accepted-OAuth-Scopes: ['']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['C544:13F62:84827A7:AD40CCC:5937BC7F']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4984']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.048575']
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [GitMate]
method: GET
uri: https://api.github.com/repos/gitmate-test-user/test/commits/674498fd415cfadc35c5eb28b8951e800f357c6f
response:
body:
string: !!binary |
H4sIAAAAAAAAA+1XTW/bMAz9K4F3bBLJjr9ioGgGrIcddhm2y7YikCXZFmBbhiSn6Iz891GO0490
aRsHA3ZoLrGlvPdIihSZztEFcRInjHx/GWfMdwOaEUYXAQ146sVpvAxcHmOcLYKIhpkzdaisKmGc
pHNIawqp7FNNKg4suTAVMXxmuDazVnMFP+cVESXsFVLDpjZcrYafzYWEfQYA2PawG86wO3MX33CU
BGHiBj+c7V4NUP9WpuJak9wa8rkWRpByMrg5dYzisN4NgeJBjFkcLpnP44gtSRTjOEpjmlLqRWTp
02WYxZHPwbNW9X4b0+gEIdKIOThetOkcqJHijdToWcCQDZ1dRlZWozfLQajO09v5q9GJmcBrs6ay
rSEh8Fk2jNAvTFWun3r9KMJHYrvTGeGmPpA65UBPdQ5ZAIRWQxo9VFkpc1EfKTPBnMQNw9jFCwyY
DTFEHRrcL2o8pKGtTyprAzJ9RrZoj7/aXC5AOFcDjeV2XktoS/eXhAbYiccEiEyWpbwFvkMPntbQ
EUl0D7+nEnV+DhXAOyRNwSGk4ObWBkdoM9K8HtpBkWuzFsySaTgXxdk4EwcwGHhbg21df7X0rG2q
qRKNEbIeaeoTCqCUKie1+E3OoAQKm9X9/TfO4R4KFHxjK2Qcxw7boUaJDaF3NlyKUy42cArn8B6Q
AK25a2xb+b7rhloYviassnWckVLzwxb3XuPvNf68c73X+Auj1LE28D/VeENU386Tnzf9dW8fO8dI
Q8AxDxo2YzB2wj3dvzFe8uHNDlWZKLmF7mdQl6XYj6KQedT3vYWHPfikURi5mHoBfGPiMcxTuH0s
dBjOv15//PTlel4xWLYWtEBpdbldOK4PI3hB6twaAJalpUwPbtzXRy4LevPAhR7bqcjtyWqAGSc2
DEOvdJQXB/c9xYMTV4pnlyfM1A0xtICDWa0mMzzFkwt36k1Wq1/1xYeJ/W8AD6R/mFhDnO3N9g9G
FSIVww0AAA==
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:41 GMT']
ETag: [W/"39ec2aacb6af5d52321edb36992223fa"]
Last-Modified: ['Wed, 13 Jan 2016 07:56:15 GMT']
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP', Accept-Encoding]
X-Accepted-OAuth-Scopes: ['']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['860A:13F60:3B0A263:4D2316F:5937BC80']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4983']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.028839']
X-Served-By: [49aa99f015c25437a7443c4d3a58cd17]
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [GitMate]
method: GET
uri: https://api.github.com/repos/gitmate-test-user/test/pulls/7/commits
response:
body:
string: !!binary |
H4sIAAAAAAAAA+1WTY+bMBD9KxXnJubTYKSqrdQ99lK1l65WkbENWAKMbJPVFuW/d0yS3SbbtAtR
pR72hjDvvZnxPGZuR8/U1Mu9EvOwSBnGURqGEaY+8WlI05iXoYjTMg5pEscJLry3HlNtK62Xjx4d
bK20e+poK4ClkralVqysMHY1GKHhc9FS2cBZrQwcGiv0h8Nna6ngnAMAjkM/wCs/WIXx14DkMc4T
8t3bHdUA9W9lWmEMrVwg33oX0ZsvNx8/fb5ZtxxCtFrAybFUhBZZSTJWsJKyggsSpCljJC0JpoJE
lAWCZ2mBATjoKXNre5MjRHu5htTroVhDDZEWvTLoWcmQK557jZysQS+Wg2Jdp7e/WINm9oLo7Iap
oYOW8K+KYYF+bdtmc5r1LxW+UNu9zoI0zZnUnAudmxxyACitgTZ68lmjKtldMJrkXh5gnAV+5ANm
Sy3V5wFPL41/aEPnUKY6CzJTRw7oiH+/fReBcKUPNI7b+1tDO7rfNDTAZl4TIErVNOoe+M4zOPXQ
BUn0CH+kkl11DRXAR6RsLaCkkObOFUcauzC8CTqCyY3dSO7IDNyLFnxZiAcwBHjfQWzj9GuZWIfC
MC17K1W3MNQTCqBUuqKd/EGvoAQK19XT/29ZwhMUKMTWOWQZxx47ol7LLWUPrlxaMCG3cAvX8J6R
AK196KfBsp+HRlqxobx1Pi5pY8T5kHv1+KvHn0+uV4//YZW6NAb+J4/3VE/jPL89LpI4jWOSlTwO
ElglOYsSlogizIqMJIHIfL+MEljJS/iFLF/sjnvHDLGZ03q/sB6WqhfL7O52dz8BhFYdxH4MAAA=
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:45 GMT']
ETag: [W/"74864d9689e9a5fa117e65a1b31b873b"]
Last-Modified: ['Wed, 07 Jun 2017 08:42:43 GMT']
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP', Accept-Encoding]
X-Accepted-OAuth-Scopes: ['']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['8610:13F60:3B0A33D:4D2327A:5937BC84']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4980']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.116444']
X-Served-By: [07ff1c8a09e44b62e277fae50a1b1dc4]
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [GitMate]
method: GET
uri: https://api.github.com/repos/gitmate-test-user/test/commits/f6d2b7c66372236a090a2a74df2e47f42a54456b
response:
body:
string: !!binary |
H4sIAAAAAAAAA+1XS2/bMAz+K4Z3bFM/4meAYhmwHXcZtsseKGiJioXZlmEpCbYg/32U42xpurSN
gwE7FPDBtvx9/EiRJrVxdQnuzBUJD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Hub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:46 GMT']
ETag: [W/"4e732d15792fdf2d0228eb41590ecba2"]
Last-Modified: ['Sun, 24 Jan 2016 19:46:59 GMT']
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP', Accept-Encoding]
X-Accepted-OAuth-Scopes: ['']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['C54E:13F62:8482AE2:AD4110D:5937BC85']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4979']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.032398']
X-Served-By: [46808ddc41c302090177e58148908b23]
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [GitMate]
method: GET
uri: https://api.github.com/repos/gitmate-test-user/test/commits/f6d2b7c66372236a090a2a74df2e47f42a54456b
response:
body:
string: !!binary |
H4sIAAAAAAAAA+1XS2/bMAz+K4Z3bFM/4meAYhmwHXcZtsseKGiJioXZlmEpCbYg/32U42xpurSN
gwE7FPDBtvx9/EiRJrVxdQnuzBUJD4uUJck0DcNpAn7uQwhpxEWIUSqiEOIoipPCvXaZqmtp3NnG
haUpVWfvGqiRWBbS1GBwYlCbyVJjR59jDbKitVJpWtQGu/nw2Y1UtM4JQMuhHyQTP5iE0ccgn0XJ
LM4/u9u9NUL9WzM1ag0LK+RTaxU5H969efv+3U3NSaLpkFY2Q6hyKDKRZ6xgAljBMQ/SlLE8FXkC
mE+BBciztEgIuOx6z41p9czzoJU35Hq5LG4ohl6HrdLeg5B5Nnj2tWfNau/Z5ihYl9nbbaz2zswF
bMwdU8uGUsK/SMMI+6Wpq7v7Xh9E+ERsd3ZGuKmPTJ2zoec651kAhVZTGv2ps0otZHOi0CR3Z0GS
ZIE/9QmzAgPdseD+pfaHNLQVylRjyEyfkUtvj3+9up2S4UU30Fhu96mEtnR/SWiCnblNhBCqqtSa
+I49uF9DJ0x6v+G/qWSzuISK4BtPmRIppOTm1gZHajNSXg/dUJFrcye5JdO0Lx3ycRIHMAlcN6Rt
0/9aetZloVknWyNVM1LqPQqiVN0CGvkTLqAkCpvV/f9vnMM9lChwZStkHMcOu/HaTq6A/bDh6pCh
XNEuXMJ7REK05kfbN5ZdP9TS4B3w2taxgErjcZN7qfGXGn/YuV5q/JFR6lQb+J9qvIWub+ezL/tB
MkmjKM8Ej4KYRknOpjGLsQizIsvjADPfF9OYRnJBv5Dxg91+7jjD2JndejewDkPVs81sv/VNzwZk
4xplgLY3pLGFc9m3lv6JY4XDkx0thazwMIAgEuQMKIIi4DxKizgRFDv0Iz8Q6KeJ4BlgaEd4Cx0O
KYeTvVWwJEq3VlwKifbT0xLoNFJCs7AaSFxRqeKo9Tw9e1rQsydP71BqB+uzrRFmnLFhKnyitT56
gtlT/HHidYfi9ozDRQuGlbQ387kzCa5D5yq4jpz5/GvjvHLsIYluoL9xrJCvzRVd4PSJKI1jSjAO
g8ZRDTrAvjdqXSGnI9722/YXXYZAS/YOAAA=
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:47 GMT']
ETag: [W/"4e732d15792fdf2d0228eb41590ecba2"]
Last-Modified: ['Sun, 24 Jan 2016 19:46:59 GMT']
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP', Accept-Encoding]
X-Accepted-OAuth-Scopes: ['']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['C550:13F62:8482B77:AD411C1:5937BC87']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4978']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.039291']
X-Served-By: [eef8b8685a106934dcbb4b7c59fba0bf]
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [GitMate]
method: GET
uri: https://api.github.com/repos/gitmate-test-user/test/issues/7
response:
body:
string: !!binary |
H4sIAAAAAAAAA+2WwY7aMBCGX6XyGXACiLCRqr7E9tKqQk5igrWOndoOKxrx7v3tBFpoQ9uwhx64
IAgzX8bzz/xJSxojSUp2ztU2pZTVYlYKt2uyWa4ranitLcWFijk+ddy6aWO5of4bFdY23NKETEiI
E06bw2Y0DxjJMi7teMS5JNqRWqpYxY8g4zAVV+5N2CcWsHz/VtCOBOTOVfKqAz8JMiBF3UgZhBAF
SeP5ejmP4mQ1IaqpMm5ImkyIE05yKO2le8fyF9oofCLFC0rSlkhdCoWAX25xwq5W6zhaRBPC9swx
cy1TuGijfnw8NdfKoT9hkhoa9/kf9u8XQJamx/iSia/j1iB63G8G8d/7hYytllK/gnd9gsvZH7gl
PaefUUKV96CQ3lLtdhwtxTH9uJbC/mlWh8oLqS121rqNKDzMQhfDi3El9sko8FWhtjZYQqA2mc2N
qJ3QamQnLxBAalMyJb6xO5BAWJCCH407cEgF4m9We0iDLreltRF7lh98uwzPudhDhXu4VxBg3aH2
S/3R7zA0EY5vWFH5Pd4yafnx5Kkk/fwlTILz4brmCuFS5y8c2xdCsdbWilJxBCjYyY/ftkuuhIR1
aHX+/+yDKTwhNxzsYsMc+HCf1TSKp/Plc/yULpM0fvqE+zV1cRGTTCOEJc/ROl3O0+XCx+RS2x7T
VeGtbWP4VzxqgG5v28TN55UndY+r+zy2ENvtSIee+VycsmYu341lhGQCaTNdHDrv7LuW4efDyK9f
Yoa29GHkDyPv33OHRuT/MfLjdy/l2mqqCwAA
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:48 GMT']
ETag: [W/"e87a6dfc712f8d667935cba783164be2"]
Last-Modified: ['Wed, 07 Jun 2017 08:42:43 GMT']
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP', Accept-Encoding]
X-Accepted-OAuth-Scopes: ['public_repo, repo']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['C552:13F60:3B0A3E9:4D23350:5937BC88']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4977']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.034666']
X-Served-By: [a474937f3b2fa272558fa6dc951018ad]
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
interactions:
- request:
body: null
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
User-Agent: [GitMate]
method: GET
uri: https://api.github.com/repos/gitmate-test-user/test
response:
body:
string: !!binary |
H4sIAAAAAAAAA6WY3XKjOBCFX2WK27UtmKwzWaq2Zh9i9mZvXDLIoA0gVhJ2JVTefU9LYLAnhT3W
TYrI6k9HP93qVh/JPEp//2O7ffm2TVZRw2sRpZEVxkar6NBV1W5oKqStuRVr+mndGaHZ0EmdGqGj
tI8qVcgGxj/1BIlGSZ6fX5L4KV5F/Mgt17tOV+heWtualDHfaOIN7MtuT0NkqrGisZtM1axjo/33
459PQBZ6wBA7QsMVrpUDyZsDZ9hn0kpbV1dSvAJn95nFQVWVOoF3PYO7hmRnc1phh5JNEYKCec+U
LQWWFNP8oMWRxj4oz5n2mLixO5kTzGCztMgfkzgYQyCdk4+eadEqR+32JtOytVI1D0q9QACpdMEb
+c4DkEAYkEjkg6KcKRDiiKP7IMPb9qzV8sizN1ouLTIhj9iFEO4VBFj71pLD/41zQ3sirdjxvCY/
PvDKiI9V5DRYdHINK/jrL/nLGCZycd5tjMe/UPT4QmuFYQ9Kv575i27sFvdnpxwHIdCNJV8iwDVh
D0Gv4i0EQ+Y9w9/BgTJ4Od8rza26FTQW5V1wejb/l46IFbwOke3swSmVClpFZw+ONKYTd53XxVk7
jGGjTzRdvfdB7h5PWCR7AJRyY2TRCBGyemdGz8YovNe8ycog6ojomf9y+8yLEKFkDsq+UvsQDG5G
5hg9MyX3l47dBWojKCEumFocQoUS4sy0OmynnUhinIm45Cw2PUTliGD9sJoVb4qOF0HQMwP7TRdx
wd9vpi2LHjNBQKT0TMt9FxzVJgzp9HkBfDxoOSfKxHS5xnIaszz7Wcri5l/X8tYVvwgcCBenPZxK
5/OaTP/fzkduiiVEz6YQ7EP8AA9Y2SHGjyrnQwxFQMhhGBGs/63ltqRYhZFarkWA5IHA+j1HnrTZ
bPpScJcv10KHua0HgMR1ViLpC1DZjwikNqjfXP59IJE58vFK8TxkXc8M8PwOBij1gPnOtyg/Q+Q5
+zmwlhWyTtUExdQJMkc3ysqDzO4pPRad7ILTfzeyycSKV9UKp9XKTOL8otyjDURGKYKWxwMwCdT8
vsKoBI5yyIpr4RE985VjLtpKvYUGnhmFPFcLlCP5jlvUEV/j5HkdJ+vk6Uf8Ld0+p8n2H/Tp2vxm
n7Yz5QUmSdbxy48kTuM4ffpKGATS4UDjC08US+8CrgShFwfYGVNOdn9NVik+P3lEGayyCifzyoHu
HvF4fa/dtITOUtWiRYoRpQ1chcq/d3zjGWiWK2Sqa7DSeLU5cYtkFrfy1DTmFyOg5Gbn/ThKre6o
WkRLq9W/IrNm3jaFjlnHk3yVF4aU/pwLQ1/cDYNDZC21VsMrktevWtEM448it1tfXgIDk1mHKKWf
xjm5CebiwLvK7nymjdNVc2NdXdwKXWNe9FJBL11DhexnSOdoFE0Rx3+jcIbXqtPO/NdxHAcX0sdu
/hfXBJ2URFz+ogXdKZc2jbAnVKfjvGiTZonSuCUf/wMc2CaK0RMAAA==
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:49 GMT']
ETag: [W/"64ee57ac6c1d6c8b5c9fbf76adddab8c"]
Last-Modified: ['Wed, 13 Jan 2016 07:56:15 GMT']
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP', Accept-Encoding]
X-Accepted-OAuth-Scopes: [repo]
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['C554:13F62:8482CD7:AD41369:5937BC89']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4976']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.051078']
X-Served-By: [eef8b8685a106934dcbb4b7c59fba0bf]
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
interactions:
- request:
body: '{"state": "closed"}'
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['19']
Content-Type: [application/json]
User-Agent: [GitMate]
method: PATCH
uri: https://api.github.com/repos/gitmate-test-user/test/pulls/7
response:
body:
string: !!binary |
H4sIAAAAAAAAA+1b7W6rOBB9lRV/NymQQEiQVncfovtnV6vIgEm85WvBtOpF9933jDHks2kb98fV
CqmNAvEcj7/GM2fszmrrzAqtvZRVE9o2q8TDTsh9Gz3EZW7XvCobGy9yJvlc8kbO24bXNn2zqzbL
GjuwZpZIrNAPHNcNfGcGrDzbnsIeQd4AU1iJSNM7pR9IFhAVk/H+XgwlTG1qmpafgXymd5R83z1F
m0e8tsJgZjUSHYn+jrOy4Qmqycr4CV/ClGUNn1lSyIx+pw7+hcVPdlvgE+Wo262wQ/mdKFDgohv1
MLir1dp1lhgG9swkq89boF42jh5kQo3LQvJCqvFu7UH+2/NvS0Duag1DQ2yRHremC8FdmS4Q++Sc
gERaZln5ArzzFpzO0DeqtEfxEUoUOxMoiHd2KfccXYpm/qDOEY28Uz0l2mFlNXIrEgLDzKhrntyn
ohaGgi8FdOvUw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JUtM
9BwxgNePoIGmPcAxwaeyaQaISv4YcKRVTVAPIMfQRSlFKuKPpABuGtgTnO5bI4qYzxiYaMw1KWKB
+Yu0Cw2gIgpNGtIDoBGI+Qmw5hnHVDaBHCA6u8/gJLzKyldTevkIhazutWyAu3x0gtBfha5/LRug
MgZnZaq22Z8kFVx37qwfXSd0nHCpEgYwpHr64RsCfHwOaeDrdAjlECHXNEOuFc+/H6QuKVwVHWkp
pCeK86X+4Rqfz/e1dyWh577MeQUXY0hPNOI7voMGOvIV4rItkHdB9vSF2GbalQ+vBv9iANizZtuv
YyuUdYvsLb2p6vIfHiMtcPTuYDqOXr6IJ3EiSO7PGBiq4GyoHErmoq5Lnc3t0ytlxQtd/1DO9/rw
EjAQOSqA9Dx+GtqkGpjwlLWZ3PaeNqLUnCE5U1s/KBuFlXGbnteFBy5+fOyJ91XgeZt1mniuH6cs
iZd+7PNosY7WG9/la8dJlz4SBZSrn4j3iXjHuYPrBwcm4v2O0xb2z8SnTcS7MnDTAZjzE2TTARjl
hE4HYPQBmIl4//T5y4l4n4h3CmUn4v2zJ5cRLk7Ee5/GmIh3EwpoIt5VUmCk9CfifSLeJ+J9OM9s
Ylkm4v3ti0cT8T4R7/9P4n2biQJBDU6qNjzDIffO2veH3U3u54HQp2NsV9DeTZuoO364lgcI1eFX
MO66Ewe8wVX4IsjDpQZgn132MKxC33O8UcOXVHB5HED3EhysL6kgGM5J0HAOh3gMkT9/+YPyS/3F
ozHXpR5ZRBcf9bHLmlMK6uTVWGhLddK57UTU8hXxr77GFOECVZ8ZO0wt5Lku5gLe5UwUEv+4yxez
YpuXuDgKaV05ias+Rw6NJYlQF92scEE5s4zrJ6DEexxaQlI1pf0epX/8BxEq/H1NOwAA
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:42 GMT']
ETag: [W/"2d1d5e9e70c51a945bf9fd0a94208239"]
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP']
X-Accepted-OAuth-Scopes: ['']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['C548:13F62:84828D2:AD40E6B:5937BC81']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4982']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.157633']
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
- request:
body: '{"state": "open"}'
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive]
Content-Length: ['17']
Content-Type: [application/json]
User-Agent: [GitMate]
method: PATCH
uri: https://api.github.com/repos/gitmate-test-user/test/pulls/7
response:
body:
string: !!binary |
H4sIAAAAAAAAA+1b227jNhD9lUKvtSPJlixbQLH9iPSlRWFQEmWz0a0SlSAr7L/3DEXJ1ziJmYdF
oYcENs05HA5vM2fIzmrrzAqtvZRVE9o2q8TDTsh9Gz3EZW7XvCobGwU5k3wueSPnbcNrmz7ZVZtl
jR1YM0skVugHjusGvjMDVp5tT2GPIG+AKaxEpOmd0g8kC4iKyXh/L4YSpj41TcvPQD5jHSXfm6do
84jXVhjMrEbCkLB3WfECjWRl/MRhvJRlDZ9ZUsiMfiXz/sLiJ7st8B/1yOhW2KH+ThSocGFEPQju
arV2nSUGgT0zyepz/VVh4+ghJtS4LCQvpBrt1h7kvz3/tgTkrtYwNMAW6X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7ldQJntNHlWs
NslcQFdCsLuIgZ18eHjoiMIhbEUimujbAwCJ1fEeVKuBYbsBAq4NslOK9U5JyQRxW1ayxETPEQN4
/QgaaNoDHBN8KnNmgKjkjwFHWtUE9QByDF2UUqQi/gjhf3ODPcHpvjWiiPmMgZrGXJMiFpi/SLLQ
ACqi0KQjPQA6gZifAGuecUxlE8gBorP7fE3Cq6x8NaWXj1Bo173G/bvLRycI/VXo+te4f5UfOKtT
tc3+JIXgunNn/eg6oeOEywXBYCPV0w+fEODj/5DyvU6HUMYQck0z5FXx/feD1CWFq6IjLYVkRHG+
1D/c4vP5ufauJPTclzmv4GIM6YlGfMdn0EBHvkJctgWyLMiVvhDbTKfyoWjwLwaAPWu2/Tq2Qlm3
yNVSSVWX//AYaYGjssPWcVT4Ip7EiSC5P2NgqIKzoXEomYu6LnXutk+vULpYtz/U8/0+vAQMRI4q
IBWPn4Y+qQ4mPGVtJre9p40oNWdIztTWD8o9YWXcpud15YGLH7/2xPsq8LzNOk08149TlsRLP/Z5
tFhH643v8rXjpEsfiQLKy0/E+0S845bB9WsCE/F+x90K+2fi0ybiXW1w03WX89ti03UX5YRO1130
dZeJeP/0XcuJeJ+IdwplJ+L9s7eUES5OxHufxpiIdxMKaCLeVVJgpPQn4n0i3ififbjPbLKzTMT7
24+MJuJ9It7/n8T7NhMFghrcVG14hkvunbXvL7ubvMUDoU/X2K6gvZs2Ue/58AQPEMrgVzDuev8G
vMFV+CLIw6MGYJ899jBsQr9pvNHClzRweR1AWwkO1pc0EAz3JGg4h0s8hsiff/xB+aX+4dGY61Jf
WUTPHPvUVs0pA3VcMlbZUot0a7stngpk9RH/6mdMEZ5L9eKHqYU818VcQFnORCHxh5d7MSu2eYlH
opDWdz5JXNkcOTSWJEI9a7PCBeXMMq6/ASXe49ISkqopnfeo/eM/wHF/Qzk7AAA=
headers:
Access-Control-Allow-Origin: ['*']
Access-Control-Expose-Headers: ['ETag, Link, X-GitHub-OTP, X-RateLimit-Limit,
X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes,
X-Poll-Interval']
Cache-Control: ['private, max-age=60, s-maxage=60']
Content-Encoding: [gzip]
Content-Security-Policy: [default-src 'none']
Content-Type: [application/json; charset=utf-8]
Date: ['Wed, 07 Jun 2017 08:42:43 GMT']
ETag: [W/"32a0112675b69d615dce159d1f262464"]
Server: [GitHub.com]
Status: [200 OK]
Strict-Transport-Security: [max-age=31536000; includeSubdomains; preload]
Vary: ['Accept, Authorization, Cookie, X-GitHub-OTP', Accept-Encoding]
X-Accepted-OAuth-Scopes: ['']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [deny]
X-GitHub-Media-Type: [github.v3; format=json]
X-GitHub-Request-Id: ['860E:13F62:848298A:AD40F50:5937BC83']
X-OAuth-Scopes: ['admin:org, admin:org_hook, admin:public_key, admin:repo_hook,
delete_repo, gist, notifications, repo, user']
X-RateLimit-Limit: ['5000']
X-RateLimit-Remaining: ['4981']
X-RateLimit-Reset: ['1496826754']
X-Runtime-rack: ['0.306303']
X-Served-By: [10ea50bffaded85949561216def301f3]
X-XSS-Protection: [1; mode=block]
status: {code: 200, message: OK}
version: 1
import unittest
import os
import datetime
import vcr
from IGitt.GitHub.GitHubMergeRequest import GitHubMergeRequest
my_vcr = vcr.VCR(match_on=['method', 'scheme', 'host', 'port', 'path'],
filter_query_parameters=['access_token'],
filter_post_data_parameters=['access_token'])
class TestGitHubMergeRequest(unittest.TestCase):
@my_vcr.use_cassette('tests/GitHub/cassettes/github_merge_request.yaml')
def setUp(self):
self.mr = GitHubMergeRequest(os.environ.get('GITHUB_TEST_TOKEN', ''),
'gitmate-test-user/test',
7)
@my_vcr.use_cassette('tests/GitHub/cassettes/github_merge_request_base.yaml')
def test_base(self):
self.assertEqual(self.mr.base.sha,
'674498fd415cfadc35c5eb28b8951e800f357c6f')
@my_vcr.use_cassette('tests/GitHub/cassettes/github_merge_request_head.yaml')
def test_head(self):
self.assertEqual(self.mr.head.sha,
'f6d2b7c66372236a090a2a74df2e47f42a54456b')
def test_base_branch_name(self):
self.assertEqual(self.mr.base_branch_name, 'master')
def test_head_branch_name(self):
self.assertEqual(self.mr.head_branch_name, 'gitmate-test-user-patch-2')
@my_vcr.use_cassette('tests/GitHub/cassettes/github_merge_request_commits.yaml')
def test_commits(self):
self.assertEqual([commit.sha for commit in self.mr.commits],
['f6d2b7c66372236a090a2a74df2e47f42a54456b'])
@my_vcr.use_cassette('tests/GitHub/cassettes/github_merge_request_repository.yaml')
def test_repository(self):
self.assertEqual(self.mr.repository.full_name,