)]}'
{"ceilometer/collector/service.py":[{"author":{"_account_id":1669,"name":"Julien Danjou","display_name":"jd","email":"julien@danjou.info","username":"jdanjou"},"change_message_id":"d1f032a775e620e1c5aa3827ee5c3276178801b2","unresolved":false,"context_lines":[{"line_number":199,"context_line":"                    LOG.exception(\u0027Could not join consumer pool %s/%s\u0027 %"},{"line_number":200,"context_line":"                                  (topic, exchange_topic.exchange))"},{"line_number":201,"context_line":""},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    def record_metering_data(self, context, data):"},{"line_number":204,"context_line":"        \"\"\"RPC endpoint for messages we send to ourself"},{"line_number":205,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAS3%2F%2FTz0%3D","line":202,"updated":"2013-09-30 14:18:35.000000000","message":"Spurious change. :)","commit_id":"7bef24f1d7bb957ede55447a0760d6f9f89d926c"}],"tests/api/v2/test_alarm_scenarios.py":[{"author":{"_account_id":2284,"name":"Eoghan Glynn","email":"eglynn@redhat.com","username":"eglynn"},"change_message_id":"3baa6ca3f07ebf16a8642697c736f22ed6aae9ff","unresolved":false,"context_lines":[{"line_number":933,"context_line":"                as notifier:"},{"line_number":934,"context_line":"            self.post_json(\u0027/alarms\u0027, params\u003djson, headers\u003dself.auth_headers)"},{"line_number":935,"context_line":""},{"line_number":936,"context_line":"        self.assertTrue(notifier.called)"},{"line_number":937,"context_line":""},{"line_number":938,"context_line":"    def test_alarm_sends_notification(self):"},{"line_number":939,"context_line":"        # Hit the AlarmController (with alarm_id supplied) ..."}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAS3%2F%2FP9U%3D","line":936,"updated":"2013-10-01 15:15:40.000000000","message":"You could get a bit more detailed with that assertion beyond just the fact the method was called, to ensure the expected type of  notification has occurred, e.g.\n\n        calls \u003d notifier.call_args_list\n        self.assertEqual(len(calls), 1)\n        args, _ \u003d calls[0]\n        context, publisher, event_type, priority, payload \u003d args\n        self.assertIsNone(context)\n        self.assertTrue(publisher.startswith(\u0027ceilometer.api\u0027))\n        self.assertEqual(event_type, \u0027alarm.creation\u0027)\n        self.assertEqual(priority, \u0027INFO\u0027)\n        self.assertEqual(payload[\u0027detail\u0027][\u0027name\u0027], \u0027sent_notification\u0027)\n        # ... etc","commit_id":"7e4c078bdaec19f23c561b5c643140149554f076"}]}
