{"comment":{"url":"https://api.github.com/repos/lmr/avocado/comments/11651999","html_url":"https://github.com/lmr/avocado/commit/d9fdea550061ff1d9b27d61f10d461d4c19e5ebe#commitcomment-11651999","id":11651999,"user":{"login":"clebergnu","id":447178,"avatar_url":"https://avatars.githubusercontent.com/u/447178?v=3","gravatar_id":"","url":"https://api.github.com/users/clebergnu","html_url":"https://github.com/clebergnu","followers_url":"https://api.github.com/users/clebergnu/followers","following_url":"https://api.github.com/users/clebergnu/following{/other_user}","gists_url":"https://api.github.com/users/clebergnu/gists{/gist_id}","starred_url":"https://api.github.com/users/clebergnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clebergnu/subscriptions","organizations_url":"https://api.github.com/users/clebergnu/orgs","repos_url":"https://api.github.com/users/clebergnu/repos","events_url":"https://api.github.com/users/clebergnu/events{/privacy}","received_events_url":"https://api.github.com/users/clebergnu/received_events","type":"User","site_admin":false},"position":84,"line":84,"path":"selftests/all/functional/avocado/unittest_compat.py","commit_id":"d9fdea550061ff1d9b27d61f10d461d4c19e5ebe","created_at":"2015-06-12T11:18:10Z","updated_at":"2015-06-12T11:18:10Z","body":"There's one problem here. A failure in a unittest should be marked, quite obviously as \"failure\", nas as \"error\". This is what the unittest output would look like:\r\n\r\n```\r\nF\r\n======================================================================\r\nFAIL: runTest (__main__.AvocadoAsUnittest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"u.py\", line 6, in runTest\r\n    self.fail(\"failure, not error\")\r\nAssertionError: failure, not error\r\n\r\n----------------------------------------------------------------------\r\nRan 1 test in 0.000s\r\n\r\nFAILED (failures=1)\r\n```"}}