{"action":"created","comment":{"url":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/comments/31315919","id":31315919,"diff_hunk":"@@ -273,3 +275,47 @@ def testGetWidowSizeOfAnUnexistingTenant(self):\n         result = p.get_windowsize(tenantid)\n \n         self.assertEqual(expectedvalue, result)\n+\n+    def testGetWindowSize_diferent_tenants(self):\n+        \"\"\"test should return the window size of different tenant to check multitenacy\"\"\"\n+        p = myredis()\n+\n+        expectedvalue1 = [\"['tenantid', 4]\"]\n+        expectedvalue2 = [\"['different_tenant_id', 5]\"]\n+        p.insert_window_size(tenantid, ['tenantid', 4])\n+        p.insert_window_size(tenantid2, [tenantid2, 5])","path":"tests/test_redis.py","position":21,"original_position":21,"commit_id":"e8daebf2ead3c51bd417f980684dce4b0817ca5a","original_commit_id":"e8daebf2ead3c51bd417f980684dce4b0817ca5a","user":{"login":"geonexus","id":7373366,"avatar_url":"https://avatars.githubusercontent.com/u/7373366?v=3","gravatar_id":"","url":"https://api.github.com/users/geonexus","html_url":"https://github.com/geonexus","followers_url":"https://api.github.com/users/geonexus/followers","following_url":"https://api.github.com/users/geonexus/following{/other_user}","gists_url":"https://api.github.com/users/geonexus/gists{/gist_id}","starred_url":"https://api.github.com/users/geonexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonexus/subscriptions","organizations_url":"https://api.github.com/users/geonexus/orgs","repos_url":"https://api.github.com/users/geonexus/repos","events_url":"https://api.github.com/users/geonexus/events{/privacy}","received_events_url":"https://api.github.com/users/geonexus/received_events","type":"User","site_admin":false},"body":"Yes, it should work as a second tenant","created_at":"2015-05-29T11:12:22Z","updated_at":"2015-05-29T11:12:22Z","html_url":"https://github.com/telefonicaid/fiware-facts/pull/15#discussion_r31315919","pull_request_url":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/comments/31315919"},"html":{"href":"https://github.com/telefonicaid/fiware-facts/pull/15#discussion_r31315919"},"pull_request":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/15","id":36494414,"html_url":"https://github.com/telefonicaid/fiware-facts/pull/15","diff_url":"https://github.com/telefonicaid/fiware-facts/pull/15.diff","patch_url":"https://github.com/telefonicaid/fiware-facts/pull/15.patch","issue_url":"https://api.github.com/repos/telefonicaid/fiware-facts/issues/15","number":15,"state":"open","locked":false,"title":"Implement the unit test related to the multitenacy user story.","user":{"login":"geonexus","id":7373366,"avatar_url":"https://avatars.githubusercontent.com/u/7373366?v=3","gravatar_id":"","url":"https://api.github.com/users/geonexus","html_url":"https://github.com/geonexus","followers_url":"https://api.github.com/users/geonexus/followers","following_url":"https://api.github.com/users/geonexus/following{/other_user}","gists_url":"https://api.github.com/users/geonexus/gists{/gist_id}","starred_url":"https://api.github.com/users/geonexus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonexus/subscriptions","organizations_url":"https://api.github.com/users/geonexus/orgs","repos_url":"https://api.github.com/users/geonexus/repos","events_url":"https://api.github.com/users/geonexus/events{/privacy}","received_events_url":"https://api.github.com/users/geonexus/received_events","type":"User","site_admin":false},"body":"### REVIEWERS\r\n@flopezag \r\n\r\n### DESCRIPTION\r\nImplemented the unit tests related to the multitenacy user story.","created_at":"2015-05-29T10:56:37Z","updated_at":"2015-05-29T11:12:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd77a8be33429fa62f37a9d13bb5011f5331e4f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/15/commits","review_comments_url":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/15/comments","review_comment_url":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-facts/issues/15/comments","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-facts/statuses/e8daebf2ead3c51bd417f980684dce4b0817ca5a","head":{"label":"telefonicaid:feature/CLAUDIA-4603","ref":"feature/CLAUDIA-4603","sha":"e8daebf2ead3c51bd417f980684dce4b0817ca5a","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":18985918,"name":"fiware-facts","full_name":"telefonicaid/fiware-facts","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-facts","description":"","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-facts","forks_url":"https://api.github.com/repos/telefonicaid/fiware-facts/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-facts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-facts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-facts/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-facts/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-facts/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-facts/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-facts/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-facts/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-facts/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-facts/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-facts/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-facts/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-facts/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-facts/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-facts/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-facts/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-facts/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-facts/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-facts/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-facts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-facts/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-facts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-facts/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-facts/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-facts/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-facts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-facts/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-facts/releases{/id}","created_at":"2014-04-21T07:44:18Z","updated_at":"2015-04-14T10:05:50Z","pushed_at":"2015-05-29T10:56:38Z","git_url":"git://github.com/telefonicaid/fiware-facts.git","ssh_url":"git@github.com:telefonicaid/fiware-facts.git","clone_url":"https://github.com/telefonicaid/fiware-facts.git","svn_url":"https://github.com/telefonicaid/fiware-facts","homepage":null,"size":580,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"telefonicaid:develop","ref":"develop","sha":"f109b682e58c5ac4c3b32c154928a4da09be1f72","user":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"repo":{"id":18985918,"name":"fiware-facts","full_name":"telefonicaid/fiware-facts","owner":{"login":"telefonicaid","id":968363,"avatar_url":"https://avatars.githubusercontent.com/u/968363?v=3","gravatar_id":"","url":"https://api.github.com/users/telefonicaid","html_url":"https://github.com/telefonicaid","followers_url":"https://api.github.com/users/telefonicaid/followers","following_url":"https://api.github.com/users/telefonicaid/following{/other_user}","gists_url":"https://api.github.com/users/telefonicaid/gists{/gist_id}","starred_url":"https://api.github.com/users/telefonicaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telefonicaid/subscriptions","organizations_url":"https://api.github.com/users/telefonicaid/orgs","repos_url":"https://api.github.com/users/telefonicaid/repos","events_url":"https://api.github.com/users/telefonicaid/events{/privacy}","received_events_url":"https://api.github.com/users/telefonicaid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/telefonicaid/fiware-facts","description":"","fork":false,"url":"https://api.github.com/repos/telefonicaid/fiware-facts","forks_url":"https://api.github.com/repos/telefonicaid/fiware-facts/forks","keys_url":"https://api.github.com/repos/telefonicaid/fiware-facts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/telefonicaid/fiware-facts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/telefonicaid/fiware-facts/teams","hooks_url":"https://api.github.com/repos/telefonicaid/fiware-facts/hooks","issue_events_url":"https://api.github.com/repos/telefonicaid/fiware-facts/issues/events{/number}","events_url":"https://api.github.com/repos/telefonicaid/fiware-facts/events","assignees_url":"https://api.github.com/repos/telefonicaid/fiware-facts/assignees{/user}","branches_url":"https://api.github.com/repos/telefonicaid/fiware-facts/branches{/branch}","tags_url":"https://api.github.com/repos/telefonicaid/fiware-facts/tags","blobs_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/refs{/sha}","trees_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/telefonicaid/fiware-facts/statuses/{sha}","languages_url":"https://api.github.com/repos/telefonicaid/fiware-facts/languages","stargazers_url":"https://api.github.com/repos/telefonicaid/fiware-facts/stargazers","contributors_url":"https://api.github.com/repos/telefonicaid/fiware-facts/contributors","subscribers_url":"https://api.github.com/repos/telefonicaid/fiware-facts/subscribers","subscription_url":"https://api.github.com/repos/telefonicaid/fiware-facts/subscription","commits_url":"https://api.github.com/repos/telefonicaid/fiware-facts/commits{/sha}","git_commits_url":"https://api.github.com/repos/telefonicaid/fiware-facts/git/commits{/sha}","comments_url":"https://api.github.com/repos/telefonicaid/fiware-facts/comments{/number}","issue_comment_url":"https://api.github.com/repos/telefonicaid/fiware-facts/issues/comments{/number}","contents_url":"https://api.github.com/repos/telefonicaid/fiware-facts/contents/{+path}","compare_url":"https://api.github.com/repos/telefonicaid/fiware-facts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/telefonicaid/fiware-facts/merges","archive_url":"https://api.github.com/repos/telefonicaid/fiware-facts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/telefonicaid/fiware-facts/downloads","issues_url":"https://api.github.com/repos/telefonicaid/fiware-facts/issues{/number}","pulls_url":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls{/number}","milestones_url":"https://api.github.com/repos/telefonicaid/fiware-facts/milestones{/number}","notifications_url":"https://api.github.com/repos/telefonicaid/fiware-facts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/telefonicaid/fiware-facts/labels{/name}","releases_url":"https://api.github.com/repos/telefonicaid/fiware-facts/releases{/id}","created_at":"2014-04-21T07:44:18Z","updated_at":"2015-04-14T10:05:50Z","pushed_at":"2015-05-29T10:56:38Z","git_url":"git://github.com/telefonicaid/fiware-facts.git","ssh_url":"git@github.com:telefonicaid/fiware-facts.git","clone_url":"https://github.com/telefonicaid/fiware-facts.git","svn_url":"https://github.com/telefonicaid/fiware-facts","homepage":null,"size":580,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/15"},"html":{"href":"https://github.com/telefonicaid/fiware-facts/pull/15"},"issue":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/issues/15"},"comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/telefonicaid/fiware-facts/statuses/e8daebf2ead3c51bd417f980684dce4b0817ca5a"}}}}