{"action":"created","issue":{"url":"https://api.github.com/repos/newsdev/elex/issues/135","labels_url":"https://api.github.com/repos/newsdev/elex/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/newsdev/elex/issues/135/comments","events_url":"https://api.github.com/repos/newsdev/elex/issues/135/events","html_url":"https://github.com/newsdev/elex/issues/135","id":120800777,"number":135,"title":"tests should be split into one assertion per test","user":{"login":"eads","id":634572,"avatar_url":"https://avatars.githubusercontent.com/u/634572?v=3","gravatar_id":"","url":"https://api.github.com/users/eads","html_url":"https://github.com/eads","followers_url":"https://api.github.com/users/eads/followers","following_url":"https://api.github.com/users/eads/following{/other_user}","gists_url":"https://api.github.com/users/eads/gists{/gist_id}","starred_url":"https://api.github.com/users/eads/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eads/subscriptions","organizations_url":"https://api.github.com/users/eads/orgs","repos_url":"https://api.github.com/users/eads/repos","events_url":"https://api.github.com/users/eads/events{/privacy}","received_events_url":"https://api.github.com/users/eads/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/newsdev/elex/labels/medium","name":"medium","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/newsdev/elex/milestones/3","html_url":"https://github.com/newsdev/elex/milestones/0.2.0","labels_url":"https://api.github.com/repos/newsdev/elex/milestones/3/labels","id":1444478,"number":3,"title":"0.2.0","description":"Batch of changes in advance of the IA caucuses on Feb. 1, 2016.","creator":{"login":"jeremyjbowers","id":109988,"avatar_url":"https://avatars.githubusercontent.com/u/109988?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyjbowers","html_url":"https://github.com/jeremyjbowers","followers_url":"https://api.github.com/users/jeremyjbowers/followers","following_url":"https://api.github.com/users/jeremyjbowers/following{/other_user}","gists_url":"https://api.github.com/users/jeremyjbowers/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyjbowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyjbowers/subscriptions","organizations_url":"https://api.github.com/users/jeremyjbowers/orgs","repos_url":"https://api.github.com/users/jeremyjbowers/repos","events_url":"https://api.github.com/users/jeremyjbowers/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyjbowers/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2015-12-04T16:16:43Z","updated_at":"2015-12-07T15:42:01Z","due_on":"2016-01-22T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-12-07T15:40:44Z","updated_at":"2015-12-07T15:45:42Z","closed_at":null,"body":"I'm sorry @jeremyjbowers :/"},"comment":{"url":"https://api.github.com/repos/newsdev/elex/issues/comments/162562787","html_url":"https://github.com/newsdev/elex/issues/135#issuecomment-162562787","issue_url":"https://api.github.com/repos/newsdev/elex/issues/135","id":162562787,"user":{"login":"jeremyjbowers","id":109988,"avatar_url":"https://avatars.githubusercontent.com/u/109988?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyjbowers","html_url":"https://github.com/jeremyjbowers","followers_url":"https://api.github.com/users/jeremyjbowers/followers","following_url":"https://api.github.com/users/jeremyjbowers/following{/other_user}","gists_url":"https://api.github.com/users/jeremyjbowers/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyjbowers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyjbowers/subscriptions","organizations_url":"https://api.github.com/users/jeremyjbowers/orgs","repos_url":"https://api.github.com/users/jeremyjbowers/repos","events_url":"https://api.github.com/users/jeremyjbowers/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyjbowers/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T15:45:42Z","updated_at":"2015-12-07T15:45:42Z","body":"Is this convention valuable in all cases?\r\n\r\nFor example:\r\n```\r\n    def test_ballot_measure_attributes(self):\r\n        c = self.ballot_measures[0]\r\n        self.assertEqual(c.last, \"Yes\")\r\n        self.assertFalse(hasattr(c, 'first'))\r\n        self.assertEqual(c.unique_id, \"12482\")\r\n```\r\nThis contains three assertions, all testing the same thing -- if a ballot measure has the attributes we expect.\r\n\r\nIs the correct thing to make three tests that duplicate function? Or to remove two of the assertions and make the tests more brittle?"}}