{"action":"created","comment":{"url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/comments/69478763","id":69478763,"diff_hunk":"@@ -537,3 +537,79 @@ def test_position_center_coerce(given, expected):\n         assert center.coords == expected\n     else:\n         assert not center\n+\n+\n+def test_municipality_select_use_default_orderby():\n+    mun1 = MunicipalityFactory(insee=\"90002\")\n+    mun2 = MunicipalityFactory(insee=\"90001\")\n+    # Check before data sort\n+    assert models.Municipality.select().count() == 2\n+    assert mun1.insee > mun2.insee","path":"ban/tests/test_models.py","position":11,"original_position":11,"commit_id":"9a8bdd3f7e83927ae17ad5f6d3b219c8e1026f44","original_commit_id":"9a8bdd3f7e83927ae17ad5f6d3b219c8e1026f44","user":{"login":"yohanboniface","id":146023,"avatar_url":"https://avatars.githubusercontent.com/u/146023?v=3","gravatar_id":"","url":"https://api.github.com/users/yohanboniface","html_url":"https://github.com/yohanboniface","followers_url":"https://api.github.com/users/yohanboniface/followers","following_url":"https://api.github.com/users/yohanboniface/following{/other_user}","gists_url":"https://api.github.com/users/yohanboniface/gists{/gist_id}","starred_url":"https://api.github.com/users/yohanboniface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yohanboniface/subscriptions","organizations_url":"https://api.github.com/users/yohanboniface/orgs","repos_url":"https://api.github.com/users/yohanboniface/repos","events_url":"https://api.github.com/users/yohanboniface/events{/privacy}","received_events_url":"https://api.github.com/users/yohanboniface/received_events","type":"User","site_admin":false},"body":"You are testing python, doing so ;)","created_at":"2016-07-04T16:40:08Z","updated_at":"2016-07-04T16:40:08Z","html_url":"https://github.com/BaseAdresseNationale/ban/pull/146#discussion_r69478763","pull_request_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/comments/69478763"},"html":{"href":"https://github.com/BaseAdresseNationale/ban/pull/146#discussion_r69478763"},"pull_request":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/146","id":76153571,"html_url":"https://github.com/BaseAdresseNationale/ban/pull/146","diff_url":"https://github.com/BaseAdresseNationale/ban/pull/146.diff","patch_url":"https://github.com/BaseAdresseNationale/ban/pull/146.patch","issue_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/146","number":146,"state":"open","locked":false,"title":"Fix #119 delete default order by","user":{"login":"flyusfly","id":12051203,"avatar_url":"https://avatars.githubusercontent.com/u/12051203?v=3","gravatar_id":"","url":"https://api.github.com/users/flyusfly","html_url":"https://github.com/flyusfly","followers_url":"https://api.github.com/users/flyusfly/followers","following_url":"https://api.github.com/users/flyusfly/following{/other_user}","gists_url":"https://api.github.com/users/flyusfly/gists{/gist_id}","starred_url":"https://api.github.com/users/flyusfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flyusfly/subscriptions","organizations_url":"https://api.github.com/users/flyusfly/orgs","repos_url":"https://api.github.com/users/flyusfly/repos","events_url":"https://api.github.com/users/flyusfly/events{/privacy}","received_events_url":"https://api.github.com/users/flyusfly/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-04T12:02:04Z","updated_at":"2016-07-04T16:40:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"edf00b8f3a54c121b962657b3c44f6ce55c3bcc2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/146/commits","review_comments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/146/comments","review_comment_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/146/comments","statuses_url":"https://api.github.com/repos/BaseAdresseNationale/ban/statuses/9a8bdd3f7e83927ae17ad5f6d3b219c8e1026f44","head":{"label":"BaseAdresseNationale:119_delete_default_order_by","ref":"119_delete_default_order_by","sha":"9a8bdd3f7e83927ae17ad5f6d3b219c8e1026f44","user":{"login":"BaseAdresseNationale","id":19411687,"avatar_url":"https://avatars.githubusercontent.com/u/19411687?v=3","gravatar_id":"","url":"https://api.github.com/users/BaseAdresseNationale","html_url":"https://github.com/BaseAdresseNationale","followers_url":"https://api.github.com/users/BaseAdresseNationale/followers","following_url":"https://api.github.com/users/BaseAdresseNationale/following{/other_user}","gists_url":"https://api.github.com/users/BaseAdresseNationale/gists{/gist_id}","starred_url":"https://api.github.com/users/BaseAdresseNationale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaseAdresseNationale/subscriptions","organizations_url":"https://api.github.com/users/BaseAdresseNationale/orgs","repos_url":"https://api.github.com/users/BaseAdresseNationale/repos","events_url":"https://api.github.com/users/BaseAdresseNationale/events{/privacy}","received_events_url":"https://api.github.com/users/BaseAdresseNationale/received_events","type":"Organization","site_admin":false},"repo":{"id":44619367,"name":"ban","full_name":"BaseAdresseNationale/ban","owner":{"login":"BaseAdresseNationale","id":19411687,"avatar_url":"https://avatars.githubusercontent.com/u/19411687?v=3","gravatar_id":"","url":"https://api.github.com/users/BaseAdresseNationale","html_url":"https://github.com/BaseAdresseNationale","followers_url":"https://api.github.com/users/BaseAdresseNationale/followers","following_url":"https://api.github.com/users/BaseAdresseNationale/following{/other_user}","gists_url":"https://api.github.com/users/BaseAdresseNationale/gists{/gist_id}","starred_url":"https://api.github.com/users/BaseAdresseNationale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaseAdresseNationale/subscriptions","organizations_url":"https://api.github.com/users/BaseAdresseNationale/orgs","repos_url":"https://api.github.com/users/BaseAdresseNationale/repos","events_url":"https://api.github.com/users/BaseAdresseNationale/events{/privacy}","received_events_url":"https://api.github.com/users/BaseAdresseNationale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BaseAdresseNationale/ban","description":"Prototype de la future API de gestion de la Base adresses nationale","fork":false,"url":"https://api.github.com/repos/BaseAdresseNationale/ban","forks_url":"https://api.github.com/repos/BaseAdresseNationale/ban/forks","keys_url":"https://api.github.com/repos/BaseAdresseNationale/ban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BaseAdresseNationale/ban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BaseAdresseNationale/ban/teams","hooks_url":"https://api.github.com/repos/BaseAdresseNationale/ban/hooks","issue_events_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/events{/number}","events_url":"https://api.github.com/repos/BaseAdresseNationale/ban/events","assignees_url":"https://api.github.com/repos/BaseAdresseNationale/ban/assignees{/user}","branches_url":"https://api.github.com/repos/BaseAdresseNationale/ban/branches{/branch}","tags_url":"https://api.github.com/repos/BaseAdresseNationale/ban/tags","blobs_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/refs{/sha}","trees_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BaseAdresseNationale/ban/statuses/{sha}","languages_url":"https://api.github.com/repos/BaseAdresseNationale/ban/languages","stargazers_url":"https://api.github.com/repos/BaseAdresseNationale/ban/stargazers","contributors_url":"https://api.github.com/repos/BaseAdresseNationale/ban/contributors","subscribers_url":"https://api.github.com/repos/BaseAdresseNationale/ban/subscribers","subscription_url":"https://api.github.com/repos/BaseAdresseNationale/ban/subscription","commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/commits{/sha}","git_commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/commits{/sha}","comments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/comments{/number}","issue_comment_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/comments{/number}","contents_url":"https://api.github.com/repos/BaseAdresseNationale/ban/contents/{+path}","compare_url":"https://api.github.com/repos/BaseAdresseNationale/ban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BaseAdresseNationale/ban/merges","archive_url":"https://api.github.com/repos/BaseAdresseNationale/ban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BaseAdresseNationale/ban/downloads","issues_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues{/number}","pulls_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls{/number}","milestones_url":"https://api.github.com/repos/BaseAdresseNationale/ban/milestones{/number}","notifications_url":"https://api.github.com/repos/BaseAdresseNationale/ban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BaseAdresseNationale/ban/labels{/name}","releases_url":"https://api.github.com/repos/BaseAdresseNationale/ban/releases{/id}","deployments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/deployments","created_at":"2015-10-20T16:24:34Z","updated_at":"2016-06-16T11:24:16Z","pushed_at":"2016-07-04T15:16:00Z","git_url":"git://github.com/BaseAdresseNationale/ban.git","ssh_url":"git@github.com:BaseAdresseNationale/ban.git","clone_url":"https://github.com/BaseAdresseNationale/ban.git","svn_url":"https://github.com/BaseAdresseNationale/ban","homepage":"","size":449,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":70,"forks":9,"open_issues":70,"watchers":7,"default_branch":"master"}},"base":{"label":"BaseAdresseNationale:master","ref":"master","sha":"41a50dcf68b1a30a42cb0d86d72b3bd7f1e8b440","user":{"login":"BaseAdresseNationale","id":19411687,"avatar_url":"https://avatars.githubusercontent.com/u/19411687?v=3","gravatar_id":"","url":"https://api.github.com/users/BaseAdresseNationale","html_url":"https://github.com/BaseAdresseNationale","followers_url":"https://api.github.com/users/BaseAdresseNationale/followers","following_url":"https://api.github.com/users/BaseAdresseNationale/following{/other_user}","gists_url":"https://api.github.com/users/BaseAdresseNationale/gists{/gist_id}","starred_url":"https://api.github.com/users/BaseAdresseNationale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaseAdresseNationale/subscriptions","organizations_url":"https://api.github.com/users/BaseAdresseNationale/orgs","repos_url":"https://api.github.com/users/BaseAdresseNationale/repos","events_url":"https://api.github.com/users/BaseAdresseNationale/events{/privacy}","received_events_url":"https://api.github.com/users/BaseAdresseNationale/received_events","type":"Organization","site_admin":false},"repo":{"id":44619367,"name":"ban","full_name":"BaseAdresseNationale/ban","owner":{"login":"BaseAdresseNationale","id":19411687,"avatar_url":"https://avatars.githubusercontent.com/u/19411687?v=3","gravatar_id":"","url":"https://api.github.com/users/BaseAdresseNationale","html_url":"https://github.com/BaseAdresseNationale","followers_url":"https://api.github.com/users/BaseAdresseNationale/followers","following_url":"https://api.github.com/users/BaseAdresseNationale/following{/other_user}","gists_url":"https://api.github.com/users/BaseAdresseNationale/gists{/gist_id}","starred_url":"https://api.github.com/users/BaseAdresseNationale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaseAdresseNationale/subscriptions","organizations_url":"https://api.github.com/users/BaseAdresseNationale/orgs","repos_url":"https://api.github.com/users/BaseAdresseNationale/repos","events_url":"https://api.github.com/users/BaseAdresseNationale/events{/privacy}","received_events_url":"https://api.github.com/users/BaseAdresseNationale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BaseAdresseNationale/ban","description":"Prototype de la future API de gestion de la Base adresses nationale","fork":false,"url":"https://api.github.com/repos/BaseAdresseNationale/ban","forks_url":"https://api.github.com/repos/BaseAdresseNationale/ban/forks","keys_url":"https://api.github.com/repos/BaseAdresseNationale/ban/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BaseAdresseNationale/ban/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BaseAdresseNationale/ban/teams","hooks_url":"https://api.github.com/repos/BaseAdresseNationale/ban/hooks","issue_events_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/events{/number}","events_url":"https://api.github.com/repos/BaseAdresseNationale/ban/events","assignees_url":"https://api.github.com/repos/BaseAdresseNationale/ban/assignees{/user}","branches_url":"https://api.github.com/repos/BaseAdresseNationale/ban/branches{/branch}","tags_url":"https://api.github.com/repos/BaseAdresseNationale/ban/tags","blobs_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/refs{/sha}","trees_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BaseAdresseNationale/ban/statuses/{sha}","languages_url":"https://api.github.com/repos/BaseAdresseNationale/ban/languages","stargazers_url":"https://api.github.com/repos/BaseAdresseNationale/ban/stargazers","contributors_url":"https://api.github.com/repos/BaseAdresseNationale/ban/contributors","subscribers_url":"https://api.github.com/repos/BaseAdresseNationale/ban/subscribers","subscription_url":"https://api.github.com/repos/BaseAdresseNationale/ban/subscription","commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/commits{/sha}","git_commits_url":"https://api.github.com/repos/BaseAdresseNationale/ban/git/commits{/sha}","comments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/comments{/number}","issue_comment_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/comments{/number}","contents_url":"https://api.github.com/repos/BaseAdresseNationale/ban/contents/{+path}","compare_url":"https://api.github.com/repos/BaseAdresseNationale/ban/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BaseAdresseNationale/ban/merges","archive_url":"https://api.github.com/repos/BaseAdresseNationale/ban/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BaseAdresseNationale/ban/downloads","issues_url":"https://api.github.com/repos/BaseAdresseNationale/ban/issues{/number}","pulls_url":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls{/number}","milestones_url":"https://api.github.com/repos/BaseAdresseNationale/ban/milestones{/number}","notifications_url":"https://api.github.com/repos/BaseAdresseNationale/ban/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BaseAdresseNationale/ban/labels{/name}","releases_url":"https://api.github.com/repos/BaseAdresseNationale/ban/releases{/id}","deployments_url":"https://api.github.com/repos/BaseAdresseNationale/ban/deployments","created_at":"2015-10-20T16:24:34Z","updated_at":"2016-06-16T11:24:16Z","pushed_at":"2016-07-04T15:16:00Z","git_url":"git://github.com/BaseAdresseNationale/ban.git","ssh_url":"git@github.com:BaseAdresseNationale/ban.git","clone_url":"https://github.com/BaseAdresseNationale/ban.git","svn_url":"https://github.com/BaseAdresseNationale/ban","homepage":"","size":449,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":70,"forks":9,"open_issues":70,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/146"},"html":{"href":"https://github.com/BaseAdresseNationale/ban/pull/146"},"issue":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/146"},"comments":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/BaseAdresseNationale/ban/statuses/9a8bdd3f7e83927ae17ad5f6d3b219c8e1026f44"}}}}
{"actor":{"display_login":"yohanboniface"}}