{"action":"created","issue":{"url":"https://api.github.com/repos/google/cluster-insight/issues/26","labels_url":"https://api.github.com/repos/google/cluster-insight/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/google/cluster-insight/issues/26/comments","events_url":"https://api.github.com/repos/google/cluster-insight/issues/26/events","html_url":"https://github.com/google/cluster-insight/pull/26","id":65277700,"number":26,"title":"Change some 'contains' to 'runs' relations and add 'createdBy' attributes","user":{"login":"EranGabber","id":10833558,"avatar_url":"https://avatars.githubusercontent.com/u/10833558?v=3","gravatar_id":"","url":"https://api.github.com/users/EranGabber","html_url":"https://github.com/EranGabber","followers_url":"https://api.github.com/users/EranGabber/followers","following_url":"https://api.github.com/users/EranGabber/following{/other_user}","gists_url":"https://api.github.com/users/EranGabber/gists{/gist_id}","starred_url":"https://api.github.com/users/EranGabber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EranGabber/subscriptions","organizations_url":"https://api.github.com/users/EranGabber/orgs","repos_url":"https://api.github.com/users/EranGabber/repos","events_url":"https://api.github.com/users/EranGabber/events{/privacy}","received_events_url":"https://api.github.com/users/EranGabber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-30T18:55:19Z","updated_at":"2015-04-01T17:05:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/cluster-insight/pulls/26","html_url":"https://github.com/google/cluster-insight/pull/26","diff_url":"https://github.com/google/cluster-insight/pull/26.diff","patch_url":"https://github.com/google/cluster-insight/pull/26.patch"},"body":"Closes issues #7, #25."},"comment":{"url":"https://api.github.com/repos/google/cluster-insight/issues/comments/88556420","html_url":"https://github.com/google/cluster-insight/pull/26#issuecomment-88556420","issue_url":"https://api.github.com/repos/google/cluster-insight/issues/26","id":88556420,"user":{"login":"EranGabber","id":10833558,"avatar_url":"https://avatars.githubusercontent.com/u/10833558?v=3","gravatar_id":"","url":"https://api.github.com/users/EranGabber","html_url":"https://github.com/EranGabber","followers_url":"https://api.github.com/users/EranGabber/followers","following_url":"https://api.github.com/users/EranGabber/following{/other_user}","gists_url":"https://api.github.com/users/EranGabber/gists{/gist_id}","starred_url":"https://api.github.com/users/EranGabber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EranGabber/subscriptions","organizations_url":"https://api.github.com/users/EranGabber/orgs","repos_url":"https://api.github.com/users/EranGabber/repos","events_url":"https://api.github.com/users/EranGabber/events{/privacy}","received_events_url":"https://api.github.com/users/EranGabber/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T17:05:06Z","updated_at":"2015-04-01T17:05:06Z","body":"Supriya,\n\nThe latest committed code works for me. It does not fail. In any case, I\nchanged the code according to your suggestion. However, I did not change\nthe assertion. I explained why the original assertion is superior for\ndebugging in a new comment.\n\nEran\n\nOn Wed, Apr 1, 2015 at 11:29 AM, supriyagarg <notifications@github.com>\nwrote:\n\n> Hi Eran,\n>\n> When I ran the tests in collector_test 7 of them failed. I noticed that\n> they were all due to the compare_to_golden test. It is basically failing\n> due to differences in whitespace used. If you replace the code between\n> lines 71-89 by the following, it will work.\n>\n> #Strip the sanitized strings, and replace multiple whitespaces by a single space\n> sanitized_golden_data = re.sub('\\\\s+', ' ', sanitized_golden_data.strip())\n> sanitized_ret_value = re.sub('\\\\s+', ' ', sanitized_ret_value.strip())\n>\n> self.assertEqual(sanitized_golden_data, sanitized_ret_value)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/google/cluster-insight/pull/26#issuecomment-88523278>.\n>\n"}}