mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
# Problem # The `.whl` available on PyPi for this repository contains its entire `tests` submodule. The total size of the `pygithub` module is less than `1mb` without tests and `>23mb` with. Previous discussions on this topic indicated the removal of tests would be accepted if someone created a pull request to do so: https://github.com/PyGithub/PyGithub/issues/672 This is that pull request! 😄 # Solution/Implementation # - Moved "tests" to root of the repository ( outside the package ) - Added `tests.` module path to the imports in `AllTests.py` - Updated `setup.py` - Removed `package_data` from product - Removed "tests" from packages definition - Repointed `test_suite` to new location - Updated `travis.yml` - Added conditional ( if not `py2.7` ) conversion of code to `py3` _... apologies for all the failed build spam below - new to working with Travis CI / had some gotcha moments!_
45 lines
2.3 KiB
Plaintext
45 lines
2.3 KiB
Plaintext
https
|
|
GET
|
|
api.github.com
|
|
None
|
|
/users/Lyloa
|
|
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
|
|
None
|
|
200
|
|
[('status', '200 OK'), ('x-ratelimit-remaining', '4983'), ('content-length', '554'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"9fc4631ef7902f5de61ef421c7e4f9b7"'), ('date', 'Sun, 27 May 2012 05:09:23 GMT'), ('content-type', 'application/json; charset=utf-8')]
|
|
{"type":"User","public_gists":0,"bio":null,"blog":null,"url":"https://api.github.com/users/Lyloa","avatar_url":"https://secure.gravatar.com/avatar/1517ed584458ccf83e03f5d77d9699d7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","company":null,"gravatar_id":"1517ed584458ccf83e03f5d77d9699d7","login":"Lyloa","email":"nyu@lyloa.net","followers":1,"name":"Lyloa","public_repos":0,"created_at":"2011-10-16T14:36:46Z","location":"Paris","id":1131432,"following":0,"html_url":"https://github.com/Lyloa","hireable":false}
|
|
|
|
https
|
|
GET
|
|
api.github.com
|
|
None
|
|
/orgs/BeaverSoftware/members/Lyloa
|
|
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
|
|
None
|
|
204
|
|
[('status', '204 No Content'), ('x-ratelimit-remaining', '4982'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 27 May 2012 05:09:23 GMT')]
|
|
|
|
|
|
https
|
|
DELETE
|
|
api.github.com
|
|
None
|
|
/orgs/BeaverSoftware/members/Lyloa
|
|
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
|
|
None
|
|
204
|
|
[('status', '204 No Content'), ('x-ratelimit-remaining', '4981'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"d41d8cd98f00b204e9800998ecf8427e"'), ('date', 'Sun, 27 May 2012 05:09:24 GMT')]
|
|
|
|
|
|
https
|
|
GET
|
|
api.github.com
|
|
None
|
|
/orgs/BeaverSoftware/members/Lyloa
|
|
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
|
|
None
|
|
403
|
|
[('status', '403 Forbidden'), ('x-ratelimit-remaining', '4980'), ('content-length', '37'), ('server', 'nginx/1.0.13'), ('connection', 'keep-alive'), ('x-ratelimit-limit', '5000'), ('etag', '"ab43ecb6e2f75e3940aa869edc5ed691"'), ('date', 'Sun, 27 May 2012 05:09:24 GMT'), ('content-type', 'application/json; charset=utf-8')]
|
|
{"message":"You need to be a member"}
|
|
|