Skip to content

Commit eb64d91

Browse files
Initial commit of migrating test cases
Added TestIssueRequiresAuth class for methods that required authentication Migrated test_add_labels to tests/{unit, integration} Migrated test_assign to tests/{unit, integration} Migrated test_close to tests/{unit, integration} Migrated test_comment to tests/{unit, integration} Migrated test_create_comment to tests/{unit, integration} Migrated test_edit to tests/{unit, integration} Migrated test_is_closed to tests/unit Migrated test_remove_label and updated remove_label to return list of Labels. If you look at the cassette, you can see a list has been returned Migrated test_remove_all_labels to tests/{unit, integration} Migrated test_reopen to tests/{unit, integration} Migrate IssueEvent test cases to test/{unit, integration}
1 parent ba79cb8 commit eb64d91

17 files changed

Lines changed: 545 additions & 204 deletions

github3/issues/issue.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -269,13 +269,12 @@ def remove_label(self, name):
269269
"""Removes label ``name`` from this issue.
270270
271271
:param str name: (required), name of the label to remove
272-
:returns: bool
272+
:returns: list of :class:`Label`
273273
"""
274274
url = self._build_url('labels', name, base_url=self._api)
275-
# Docs say it should be a list of strings returned, practice says it
276-
# is just a 204/404 response. I'm tenatively changing this until I
277-
# hear back from Support.
278-
return self._boolean(self._delete(url), 204, 404)
275+
json = self._json(self._delete(url), 200, 404)
276+
labels = [Label(label, self) for label in json] if json else []
277+
return labels
279278

280279
@requires_auth
281280
def remove_all_labels(self):
@@ -291,7 +290,7 @@ def replace_labels(self, labels):
291290
"""Replace all labels on this issue with ``labels``.
292291
293292
:param list labels: label names
294-
:returns: bool
293+
:returns: list of :class:`Label`
295294
"""
296295
url = self._build_url('labels', base_url=self._api)
297296
json = self._json(self._put(url, data=dumps(labels)), 200)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"http_interactions": [{"request": {"body": {"string": "", "encoding": "utf-8"}, "headers": {"Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "GET", "uri": "https://api.github.com/repos/sigmavirus24/github3.py/issues/497"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA62W3XKbMBCFX8Wjq3bGifgxCWEcd/oO6U2bjkfAGqsVEiMJpy6Td+8KcGLjTBpsXxr2fFqO9shqSK0FScja2soklLKKXxfcruv0OlMl1VApQw0vSrbhujbBjHZvw+tqS7kxNRg6u7slUyJYCsIsL4KjHayhkpXwjHDspQRpL4Xf4ZAMmwtyOxhS17YUAyv2XP2QnzwniR/4vhfGN+GUyLpMQZMEzZ4Sy60A3LWveT5pN2HCy0ppO0nBsgnIvFJc2k/mM7ZSGydriFAFl6jZXxxfu2WCmReH3pSwDbNMD7ewfWj6qXC0TEmLprUDUtNO/GVzHyKt0D3DYYlb/b3pcrDD6RplHRavlBDqCSnDpg/H+Hgh+qJ8oXBZnEhBZUOVXQN6h5/kBrbg5n/T+kZTrarBiBm75LnjGPReQz66sV6HbT1J7Khpk9wC69RkmleWKznetQM10pQumOR/2Wk0VBuEtIfM6C9sVaj+SIDfsLqTNbTSfMOyrbNGQwZ8g2afiBzokWi3lYvpNxdBtJ5bWLK8dDFcMWHgeXdqkuTHz3avrStXFUgsFyr7DRijthTDaTC5ErDgNcvcmhJKZm22rmWBGhe72zCKfS84Mc69+ow8HzX1/mF4VD4q04fq01P9JuecXA+AZyV7wLpctofg/bMBp2l0uge8sfkeyMcnfAC4TMaPujo4JT6U8pILMFZJDK+shXi9z+BfPP7QgMHPl8xi+APPj6784MqLHwI/CcMkiL7jGnWVH9f4tw/+XRJGSXTnajKhTI/pVklVvl269CF3Xi3mbLLWsLp/fLntuancv+79UrJkBc9oFMRBGM/8mwi8VXwDK9+LHslid0scpZtTtpjTaoEdtg1Z+OM+9CRWzzhD3puUbruteP4HwgffEAELAAA=", "encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "", "etag": "W/\"4be169ba114ff38e1bb9d07063fdb36a\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4990", "x-served-by": "8dd185e423974a7e13abbbe6e060031e", "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", "transfer-encoding": "chunked", "x-github-request-id": "97E1C718:1D25C:48F59C7:5673C64E", "access-control-allow-credentials": "true", "last-modified": "Thu, 17 Dec 2015 19:35:59 GMT", "date": "Fri, 18 Dec 2015 08:39:42 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1450428928"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/497"}, "recorded_at": "2015-12-18T08:39:42"}, {"request": {"body": {"string": "[\"in progress\"]", "encoding": "utf-8"}, "headers": {"Content-Length": "15", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "POST", "uri": "https://api.github.com/repos/sigmavirus24/github3.py/issues/497/labels"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA03MPQrDMAxA4asUQbdghSRTrlI6yEY4Av8h2YUSevcGunT9HrzHCUMT7HD03mxHpCYuSj+Gd6FmVG7V0CRmeokOWzb81dW1NybynAyl3Je5aY3KZjBBoczXUsrtD0NNVS9lCvPm4fP8AnSS1117AAAA", "encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "", "etag": "W/\"e02acf763400a215f26a661dc725bedd\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4989", "x-served-by": "d594a23ec74671eba905bf91ef329026", "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", "transfer-encoding": "chunked", "x-github-request-id": "97E1C718:1D25C:48F59D9:5673C64E", "access-control-allow-credentials": "true", "date": "Fri, 18 Dec 2015 08:39:42 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1450428928"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/497/labels"}, "recorded_at": "2015-12-18T08:39:42"}], "recorded_with": "betamax/0.5.0"}

tests/cassettes/Issue_assign.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"http_interactions": [{"request": {"body": {"string": "", "encoding": "utf-8"}, "headers": {"Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "GET", "uri": "https://api.github.com/repos/sigmavirus24/github3.py/issues/497"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA62Vb2/aMBDGvwqyNGmTKM4foGlEmfYdujdbJ+QkR/Dm2JbtpGMR333nBBDQihXGW9vP786P784tqY0gKVk5p21KKdN8VHK3qrNRripqQCtLLS8r1nBT22hM+914pNeUW1uDpeOHezIkgmUg7OImONrDWipZBRuEYy4VSHcr/A6HZGhuyO1hSF25SpxYceDqu/zkBUnDKAyDOJnGQyLrKgNDUjR7SBx3AvDVvhTFoHuEAa+0Mm6QgWMDkIVWXLqP9hOmUlsva4lQJZeoOQyO2z5MNA6SOBgS1jDHzOkTdot2WxWelivp0LSuQGraiz83jzHSSrNleCzx0c9Vl4cdV9dF1uHhpRJCvSDlNOnjMn4diO6VewqX5ZUUVLZUuRWgd3glX7Alt/+q1jeS6lQttph1C154jkXvDRQXJ7bVYVovEjNqu07ugHVmc8O140pe7tqRGmnKlEzyP+w6GqotQrohc/ENOxWq39PAb1jdy1qqDW9YvvbWGMiBN2j2lcgTPRLdWvs2/epbEK3nDhasqHwbLpmwsNlNTZJ+b8+3yvlB3I9LyuWHKNBGlQast8ZPTwzP5eBgMVdC4UAgwPJgnJHNj67InD+oNEiUCZX/AuzfLkecChZHhgQ8IGshhqTiAqxTcr+wn6ZpiJPaAMKKBXMIjIJwchdGd0HyFIVpHKfR5BsGqHXx+kyYPAUPaRCnceTP5ELZLaYPm6livfBzFbkzPZ+xwcrA8vF5/3X5rjn8u34qWbGS53QSJVGcjMPpBIJlMoVlGEyeyXz35V2km1E2n1E9xwy7hBz89he9irVl/Id8a1K27t9m8xeL3X0PzgcAAA==", "encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "", "etag": "W/\"abb53178b3fae097b12d3390fa91011e\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4998", "x-served-by": "07ff1c8a09e44b62e277fae50a1b1dc4", "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", "transfer-encoding": "chunked", "x-github-request-id": "97E1C718:134F4:11658E10:5673CC27", "access-control-allow-credentials": "true", "last-modified": "Fri, 18 Dec 2015 09:03:32 GMT", "date": "Fri, 18 Dec 2015 09:04:40 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1450432582"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/497"}, "recorded_at": "2015-12-18T09:04:40"}, {"request": {"body": {"string": "{\"body\": \"https://gist.github.com/jonmagic/5282384165e0f86ef105\", \"title\": \"Add issue import beta endpoint(s)\", \"labels\": [\"in progress\"], \"assignee\": \"itsmemattchung\", \"state\": \"open\"}", "encoding": "utf-8"}, "headers": {"Content-Length": "185", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "PATCH", "uri": "https://api.github.com/repos/sigmavirus24/github3.py/issues/497"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA62W726bMBTFXyWyNGmT0po/SUtRmmnv0H3ZOkUGbog3YyPbpMtQ3n3XQNuEVGlJ8hHw+flyfO+Ra1JpQWKysrY0MaWs5Nc5t6squU5VQTWUylDD84Ktua5MMKHt1/C63FBuTAWGTu5uyZgIloAwi4vgaAurqWQFbBGOtRQg7aXwzzgkw/qC3BaG1JUtRM+KHVc/5CfPSOwHvu+F0U04JrIqEtAkRrPHxHIrAE/tW5aNmkMY8aJU2o4SsGwEMisVl/az+YKlVMbJaiJUziVqdjfHz26bYOJFoTcmbM0s0/0jbF6ariscLVXSomlNg1S0FX9d34dIy3XHcFjidj/WXQ62312DrMPFSyWEekJKv+j9Nj7ciL4oXyhc5idSUFlTZVeA3uEvuYbNuXmvW98oqlHVOGLGLnjmOAa915ANLqzTYVlPEiuqm0lugFViUs1Ly5Uc7tqeGmlK50zyf+w0GqoNQpqQGfyHjQrVHxngN6xuZTUtNV+zdOOs0ZACX6PZJyJ7eiTaTenG9LsbQbSeW1iwrHBjuGTCwPY5NUn8sz4+KseDuI1LyuWnwCu1yjUYZ41LT9yey9HOy1QJhYFAgKXeJCHbX02TWbdQlSBRJlT6B3B+mxoxFQxGhgRc8Boi3JoCCmZtuqpkjho377fhNPK94MQc6dRnBMlBUcdT+GD5oDDZV58eJ29yzgmUHvCsSOmxLhcqffBuKGE3DY6VHm9osPTkw6OlB7hMuBxUtRdPH4qXggswVkkcXlkJ8XqRwrsFPmjAwc8WzOLwB54/vfKDKy96CPw4DONg+gP3qMrscI0fPXh3sTeJJ55bkwplOky7S6KyzcJNH3Jn5XzGRisNy/vHl2um68rde+ZvJQuW85ROgygIo4l/MwVvGd3A0vemj2T+fD0dpJtRNp/Rco4VNgVZ+Ot+9CRWxzhD3pmUbNqj2P4HF14PdHoLAAA=", "encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "", "etag": "W/\"8c771f5eb156f55646491cc6db24ab0c\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4997", "x-served-by": "474556b853193c38f1b14328ce2d1b7d", "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", "transfer-encoding": "chunked", "x-github-request-id": "97E1C718:134F4:11658E65:5673CC28", "access-control-allow-credentials": "true", "date": "Fri, 18 Dec 2015 09:04:40 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1450432582"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/497"}, "recorded_at": "2015-12-18T09:04:40"}], "recorded_with": "betamax/0.5.0"}

tests/cassettes/Issue_closed.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"http_interactions": [{"request": {"body": {"string": "", "encoding": "utf-8"}, "headers": {"Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "GET", "uri": "https://api.github.com/repos/sigmavirus24/github3.py/issues/509"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA62UXW+bMBSG/wry1SalMZBGa1CWXe++u9k0pQZOwJqxkT/IGOp/37FJoyaN0grlDpnzPn59vgbitCAZqa1tTUYpa/m84rZ2+bxQDdXQKkMNrxrWce1Mek/Hv4t521NujANDl/GKzIhgOQizvQmOjrCBStbAM8LRSwPS3gr/gkMydDfkjjCk1rYRZ6l4ldUP5ZOXJEvSdBWvlulqRqRrctAkw2TPiOVWAFbtu7RQaWa5kpEFY6Od0lEhlOGyipSzEZNRKBJacsbLByJUxSVquTUNNMzaonaywgB/4ZfF8iGJ0xlhHbNMn1czHJpDg3hgodCBtKFXHD2ov3VfF8hDYyPEg4l3cK3TPM3QN6auJ/JN+E4JofZIOnd+2taXLqNHLVodvzGLkzmoHaiyNWAS8Wm+iStu3uvgi8aCbsDBM3bLS08yWAYN5QRzByVa20t0NYQJD0iXm0Lz1vfSlOyd6JGndMUk/xd6cwoP9QYxYQFNeGfQof4j430x6aNwoK3mHSt6nyINBfAO0z4ZekZApu1bP8g//HBiEbiFLSsbP6A7Jgw8v+xVkv36HepufbhqQWK4UMUfwOEKoTizBheLBAyQTogZabjAnaDk8eC49rIYV6oGhJVbZhGYxsnyLknvkofHeJUliyy5/4kXuLZ8N8avmwNmvDZXZb/1c4vcdbt5rLmJ9lyIKIewm6CM8j7CyYjWhSphExbUfPzz6fOahsM1bTdoILAs/PUer4BOEQfddcnTqeYJRYeX5P2YwOf/6PNATxwHAAA=", "encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "", "etag": "W/\"d3d26084f4116ef0a7ba33e1220a9687\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4995", "x-served-by": "bae57931a6fe678a3dffe9be8e7819c8", "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", "transfer-encoding": "chunked", "x-github-request-id": "97E1C718:134F2:C702021:5673CEEB", "access-control-allow-credentials": "true", "last-modified": "Fri, 18 Dec 2015 09:13:14 GMT", "date": "Fri, 18 Dec 2015 09:16:27 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1450432582"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/509"}, "recorded_at": "2015-12-18T09:16:27"}, {"request": {"body": {"string": "{\"body\": \"This will be closed by the `issue.closed()`\", \"title\": \"Integration test for closing out an issue\", \"labels\": [], \"assignee\": \"\", \"state\": \"closed\"}", "encoding": "utf-8"}, "headers": {"Content-Length": "158", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "PATCH", "uri": "https://api.github.com/repos/sigmavirus24/github3.py/issues/509"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA+2WzY7aMBSFXyXyqpUYnIShhYjSdffTTauKcZJLYtWxI9sJpRHv3msHaGEoHUUsumAXJfd8Pr5/SkcaLUhCSmtrk1DKaj4uuC2bdJypimqolaGGFxVruW5M/Ej7r5NxvaXcmAYMnYZzMiKCpSDM6iY42sM6KlkFO4SjlwqkvRX+gEMytDfk9jCklrYSZ6n4I6uvyifPSRLF8TycT+P5iMimSkGTBJM9IpZbAVi1T9JCoZnlSgYWjA3WSgeZUIbLIlCNDZgMfJHQUmOcvCNCFVyilltTQcWszcpGFhjgDnw/mc6iMB4R1jLL9Hk1/UuzbxAHzBQ6kNb3SkP36o/thwny0FgPcWDiHFzrNEcz9IWp64l8Eb5WQqgNks6dn7b1pcPoUYtW+2fM4mAOajuqbAmYRLyaa+KCm3918EVjXtfh4Bm74rkjGSyDhnyAub0SrW0kuur8hHtkk5pM89r10pDsneiRp3TBJP/pe3MID/UGMX4BDbin16H+NeN9Mem9sKO15i3Lti5FGjLgLaZ9MPSMgEy7rd0gf3bDiUXgFlYsr9yArpkwsDvsVZJ8/ebrbl24G3HIUSBU9h0f+mCcWoOrRQKGyEaIEam4wK2g5PHFcfElIS5VDYjLV8wiMg6j6UMUP0Szp3CeRJMkevyCBzR1/teYd0k8czG9m4uYQ0iq8u3KzTKetKiXTyU3wYYLEaTg9xXkQboNcFqCRaZyWPqlNe6/vHm7oP7lgtZLPM6zLPxwrq+AThF73XXJ86nm+ffd0u19dfZ/BBeH5b4676vz+CtB/5PVufsFULHLidwKAAA=", "encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "", "etag": "W/\"6b07826bbb026a8155ff5e51ad9e8733\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4994", "x-served-by": "ef96c2e493b28ffea49b891b085ed2dd", "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", "transfer-encoding": "chunked", "x-github-request-id": "97E1C718:134F2:C70204D:5673CEEB", "access-control-allow-credentials": "true", "date": "Fri, 18 Dec 2015 09:16:28 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1450432582"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/509"}, "recorded_at": "2015-12-18T09:16:28"}], "recorded_with": "betamax/0.5.0"}

0 commit comments

Comments
 (0)