{"action":"opened","number":494,"pull_request":{"url":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/494","id":181999179,"html_url":"https://github.com/tensorlayer/tensorlayer/pull/494","diff_url":"https://github.com/tensorlayer/tensorlayer/pull/494.diff","patch_url":"https://github.com/tensorlayer/tensorlayer/pull/494.patch","issue_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/494","number":494,"state":"open","locked":false,"title":"Test Running with Unittest and PyTest Suite","user":{"login":"DEKHTIARJonathan","id":10923599,"avatar_url":"https://avatars2.githubusercontent.com/u/10923599?v=4","gravatar_id":"","url":"https://api.github.com/users/DEKHTIARJonathan","html_url":"https://github.com/DEKHTIARJonathan","followers_url":"https://api.github.com/users/DEKHTIARJonathan/followers","following_url":"https://api.github.com/users/DEKHTIARJonathan/following{/other_user}","gists_url":"https://api.github.com/users/DEKHTIARJonathan/gists{/gist_id}","starred_url":"https://api.github.com/users/DEKHTIARJonathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DEKHTIARJonathan/subscriptions","organizations_url":"https://api.github.com/users/DEKHTIARJonathan/orgs","repos_url":"https://api.github.com/users/DEKHTIARJonathan/repos","events_url":"https://api.github.com/users/DEKHTIARJonathan/events{/privacy}","received_events_url":"https://api.github.com/users/DEKHTIARJonathan/received_events","type":"User","site_admin":false},"body":"### Changelog:\r\n- All tests refactored and now implemented with unittest library\r\n- Travis now using Test Suite: PyTest\r\n- Improved Readability in Travis\r\n- Now Possible to launch all tests with one command: `pytest`\r\n- Travis Deploy Automation on Tag: Github and PyPI: @zsdonghao I need your help here to add your credentials and API Token. You will be able to modify the **.travis.yml** file after the PR is merged\r\n\r\n### Result in Travis:\r\n![image](https://user-images.githubusercontent.com/10923599/38837126-17af6dc4-41d1-11e8-8913-f0d68bf2747c.png)\r\n","created_at":"2018-04-16T21:54:58Z","updated_at":"2018-04-16T21:54:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/494/commits","review_comments_url":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/494/comments","review_comment_url":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/494/comments","statuses_url":"https://api.github.com/repos/tensorlayer/tensorlayer/statuses/a8b9a15a9be1422c345dede1e6aa0b785bbc59a8","head":{"label":"tensorlayer:test_refactoring","ref":"test_refactoring","sha":"a8b9a15a9be1422c345dede1e6aa0b785bbc59a8","user":{"login":"tensorlayer","id":32261543,"avatar_url":"https://avatars1.githubusercontent.com/u/32261543?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorlayer","html_url":"https://github.com/tensorlayer","followers_url":"https://api.github.com/users/tensorlayer/followers","following_url":"https://api.github.com/users/tensorlayer/following{/other_user}","gists_url":"https://api.github.com/users/tensorlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorlayer/subscriptions","organizations_url":"https://api.github.com/users/tensorlayer/orgs","repos_url":"https://api.github.com/users/tensorlayer/repos","events_url":"https://api.github.com/users/tensorlayer/events{/privacy}","received_events_url":"https://api.github.com/users/tensorlayer/received_events","type":"Organization","site_admin":false},"repo":{"id":60626727,"name":"tensorlayer","full_name":"tensorlayer/tensorlayer","owner":{"login":"tensorlayer","id":32261543,"avatar_url":"https://avatars1.githubusercontent.com/u/32261543?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorlayer","html_url":"https://github.com/tensorlayer","followers_url":"https://api.github.com/users/tensorlayer/followers","following_url":"https://api.github.com/users/tensorlayer/following{/other_user}","gists_url":"https://api.github.com/users/tensorlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorlayer/subscriptions","organizations_url":"https://api.github.com/users/tensorlayer/orgs","repos_url":"https://api.github.com/users/tensorlayer/repos","events_url":"https://api.github.com/users/tensorlayer/events{/privacy}","received_events_url":"https://api.github.com/users/tensorlayer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorlayer/tensorlayer","description":"TensorLayer: A Deep Learning and Reinforcement Learning Library for Researchers and Engineers.","fork":false,"url":"https://api.github.com/repos/tensorlayer/tensorlayer","forks_url":"https://api.github.com/repos/tensorlayer/tensorlayer/forks","keys_url":"https://api.github.com/repos/tensorlayer/tensorlayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorlayer/tensorlayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorlayer/tensorlayer/teams","hooks_url":"https://api.github.com/repos/tensorlayer/tensorlayer/hooks","issue_events_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/events{/number}","events_url":"https://api.github.com/repos/tensorlayer/tensorlayer/events","assignees_url":"https://api.github.com/repos/tensorlayer/tensorlayer/assignees{/user}","branches_url":"https://api.github.com/repos/tensorlayer/tensorlayer/branches{/branch}","tags_url":"https://api.github.com/repos/tensorlayer/tensorlayer/tags","blobs_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorlayer/tensorlayer/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorlayer/tensorlayer/languages","stargazers_url":"https://api.github.com/repos/tensorlayer/tensorlayer/stargazers","contributors_url":"https://api.github.com/repos/tensorlayer/tensorlayer/contributors","subscribers_url":"https://api.github.com/repos/tensorlayer/tensorlayer/subscribers","subscription_url":"https://api.github.com/repos/tensorlayer/tensorlayer/subscription","commits_url":"https://api.github.com/repos/tensorlayer/tensorlayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorlayer/tensorlayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorlayer/tensorlayer/contents/{+path}","compare_url":"https://api.github.com/repos/tensorlayer/tensorlayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorlayer/tensorlayer/merges","archive_url":"https://api.github.com/repos/tensorlayer/tensorlayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorlayer/tensorlayer/downloads","issues_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues{/number}","pulls_url":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorlayer/tensorlayer/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorlayer/tensorlayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorlayer/tensorlayer/labels{/name}","releases_url":"https://api.github.com/repos/tensorlayer/tensorlayer/releases{/id}","deployments_url":"https://api.github.com/repos/tensorlayer/tensorlayer/deployments","created_at":"2016-06-07T15:55:16Z","updated_at":"2018-04-16T21:48:18Z","pushed_at":"2018-04-16T21:48:16Z","git_url":"git://github.com/tensorlayer/tensorlayer.git","ssh_url":"git@github.com:tensorlayer/tensorlayer.git","clone_url":"https://github.com/tensorlayer/tensorlayer.git","svn_url":"https://github.com/tensorlayer/tensorlayer","homepage":"http://tensorlayer.readthedocs.io","size":47660,"stargazers_count":3611,"watchers_count":3611,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":884,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":884,"open_issues":29,"watchers":3611,"default_branch":"master"}},"base":{"label":"tensorlayer:master","ref":"master","sha":"be64039f4fc1920661eca481fc39150ca7f87502","user":{"login":"tensorlayer","id":32261543,"avatar_url":"https://avatars1.githubusercontent.com/u/32261543?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorlayer","html_url":"https://github.com/tensorlayer","followers_url":"https://api.github.com/users/tensorlayer/followers","following_url":"https://api.github.com/users/tensorlayer/following{/other_user}","gists_url":"https://api.github.com/users/tensorlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorlayer/subscriptions","organizations_url":"https://api.github.com/users/tensorlayer/orgs","repos_url":"https://api.github.com/users/tensorlayer/repos","events_url":"https://api.github.com/users/tensorlayer/events{/privacy}","received_events_url":"https://api.github.com/users/tensorlayer/received_events","type":"Organization","site_admin":false},"repo":{"id":60626727,"name":"tensorlayer","full_name":"tensorlayer/tensorlayer","owner":{"login":"tensorlayer","id":32261543,"avatar_url":"https://avatars1.githubusercontent.com/u/32261543?v=4","gravatar_id":"","url":"https://api.github.com/users/tensorlayer","html_url":"https://github.com/tensorlayer","followers_url":"https://api.github.com/users/tensorlayer/followers","following_url":"https://api.github.com/users/tensorlayer/following{/other_user}","gists_url":"https://api.github.com/users/tensorlayer/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorlayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorlayer/subscriptions","organizations_url":"https://api.github.com/users/tensorlayer/orgs","repos_url":"https://api.github.com/users/tensorlayer/repos","events_url":"https://api.github.com/users/tensorlayer/events{/privacy}","received_events_url":"https://api.github.com/users/tensorlayer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorlayer/tensorlayer","description":"TensorLayer: A Deep Learning and Reinforcement Learning Library for Researchers and Engineers.","fork":false,"url":"https://api.github.com/repos/tensorlayer/tensorlayer","forks_url":"https://api.github.com/repos/tensorlayer/tensorlayer/forks","keys_url":"https://api.github.com/repos/tensorlayer/tensorlayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorlayer/tensorlayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorlayer/tensorlayer/teams","hooks_url":"https://api.github.com/repos/tensorlayer/tensorlayer/hooks","issue_events_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/events{/number}","events_url":"https://api.github.com/repos/tensorlayer/tensorlayer/events","assignees_url":"https://api.github.com/repos/tensorlayer/tensorlayer/assignees{/user}","branches_url":"https://api.github.com/repos/tensorlayer/tensorlayer/branches{/branch}","tags_url":"https://api.github.com/repos/tensorlayer/tensorlayer/tags","blobs_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorlayer/tensorlayer/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorlayer/tensorlayer/languages","stargazers_url":"https://api.github.com/repos/tensorlayer/tensorlayer/stargazers","contributors_url":"https://api.github.com/repos/tensorlayer/tensorlayer/contributors","subscribers_url":"https://api.github.com/repos/tensorlayer/tensorlayer/subscribers","subscription_url":"https://api.github.com/repos/tensorlayer/tensorlayer/subscription","commits_url":"https://api.github.com/repos/tensorlayer/tensorlayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorlayer/tensorlayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorlayer/tensorlayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorlayer/tensorlayer/contents/{+path}","compare_url":"https://api.github.com/repos/tensorlayer/tensorlayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorlayer/tensorlayer/merges","archive_url":"https://api.github.com/repos/tensorlayer/tensorlayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorlayer/tensorlayer/downloads","issues_url":"https://api.github.com/repos/tensorlayer/tensorlayer/issues{/number}","pulls_url":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorlayer/tensorlayer/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorlayer/tensorlayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorlayer/tensorlayer/labels{/name}","releases_url":"https://api.github.com/repos/tensorlayer/tensorlayer/releases{/id}","deployments_url":"https://api.github.com/repos/tensorlayer/tensorlayer/deployments","created_at":"2016-06-07T15:55:16Z","updated_at":"2018-04-16T21:48:18Z","pushed_at":"2018-04-16T21:48:16Z","git_url":"git://github.com/tensorlayer/tensorlayer.git","ssh_url":"git@github.com:tensorlayer/tensorlayer.git","clone_url":"https://github.com/tensorlayer/tensorlayer.git","svn_url":"https://github.com/tensorlayer/tensorlayer","homepage":"http://tensorlayer.readthedocs.io","size":47660,"stargazers_count":3611,"watchers_count":3611,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":884,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":884,"open_issues":29,"watchers":3611,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/494"},"html":{"href":"https://github.com/tensorlayer/tensorlayer/pull/494"},"issue":{"href":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/494"},"comments":{"href":"https://api.github.com/repos/tensorlayer/tensorlayer/issues/494/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/494/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorlayer/tensorlayer/pulls/494/commits"},"statuses":{"href":"https://api.github.com/repos/tensorlayer/tensorlayer/statuses/a8b9a15a9be1422c345dede1e6aa0b785bbc59a8"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":26,"additions":1981,"deletions":1334,"changed_files":28}}
{"actor":{"display_login":"DEKHTIARJonathan"}}