)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1923,"name":"Mohammad Banikazemi","email":"mbanikazemi@gmail.com","username":"mb-s"},"change_message_id":"d6facf3b84b25b5c3e838c7468005c620d978b37","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2014-07-22 13:44:29 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Use call to report state when ovs_agent starts up"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make sure to report ovs_agent state successfully when starting up,"},{"line_number":10,"context_line":"otherwise, if losing start_flag message, ovs_agent start_time would"},{"line_number":11,"context_line":"not be updated and thus l2pop does not send fdb entries."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"baada198_712e458e","line":8,"updated":"2014-07-22 14:50:53.000000000","message":"Please open a bug and link it here.","commit_id":"fd457c4cbd1ea239d0f4f4572faee20e3c13ea71"},{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"d5f1cd3bf471b50e70daab64ae3aaa41d182f1fe","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Use call to report state when ovs_agent starts up"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make sure to report ovs_agent state when starting up, otherwise"},{"line_number":10,"context_line":", ovs_agent start_time would not be updated and thus l2pop does"},{"line_number":11,"context_line":"not send fdb entries."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Idd770a85a9eabff112d9613e75d8bb524020234a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"baada198_21edcd25","line":10,"updated":"2014-07-25 13:04:27.000000000","message":"nit: remove comma","commit_id":"cd7b51ecbf43aaab90756877dad888dbcfb62b78"},{"author":{"_account_id":8213,"name":"Claudiu Belu","email":"cbelu@cloudbasesolutions.com","username":"claudiub"},"change_message_id":"d2f9b2bc18890bbb9ef4f64b3407db1fa42f3c45","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Use call to report state when ovs_agent starts up"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Make sure to report ovs_agent state when starting up, otherwise"},{"line_number":10,"context_line":", ovs_agent start_time would not be updated and thus l2pop does"},{"line_number":11,"context_line":"not send fdb entries."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Idd770a85a9eabff112d9613e75d8bb524020234a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"baada198_10c55c8f","line":10,"updated":"2014-08-11 11:23:46.000000000","message":"Please fix the comma here. I think it looks good even without it.","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"a0d9efab5c08441c0fdfe64720c70fc83ec55382","unresolved":false,"context_lines":[{"line_number":273,"context_line":"        try:"},{"line_number":274,"context_line":"            self.state_rpc.report_state(self.context,"},{"line_number":275,"context_line":"                                        self.agent_state,"},{"line_number":276,"context_line":"                                        self.use_call)"},{"line_number":277,"context_line":"            self.use_call \u003d False"},{"line_number":278,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":279,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_9ea20bfb","line":276,"updated":"2014-07-22 13:43:48.000000000","message":"use_call\u003dTrue alone doesn\u0027t make this synchronous wrt agent startup as this method (_report_state) is called via loopingcall.","commit_id":"d96754db111b9362564e23ed8cde87aec84a689d"},{"author":{"_account_id":8646,"name":"yangxurong","email":"yangxurong@huawei.com","username":"yangxurong"},"change_message_id":"d8b984f1794dd607dcbf05c7a83b2402b89945d1","unresolved":false,"context_lines":[{"line_number":273,"context_line":"        try:"},{"line_number":274,"context_line":"            self.state_rpc.report_state(self.context,"},{"line_number":275,"context_line":"                                        self.agent_state,"},{"line_number":276,"context_line":"                                        self.use_call)"},{"line_number":277,"context_line":"            self.use_call \u003d False"},{"line_number":278,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":279,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_c0271662","line":276,"in_reply_to":"baada198_9ea20bfb","updated":"2014-07-23 06:50:43.000000000","message":"Using use_call\u003dTrue can guarantee server receives the message with \"start_flag\" so agent start-up time can be updated. That\u0027s the point of this patch. By default report_state uses cast to send messages, agent doesn\u0027t get a response from the server. Once the start-up message misses, since \"start_flag\" is removed from agent_state, server will not update the start time of the agent later.","commit_id":"d96754db111b9362564e23ed8cde87aec84a689d"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bc84b11a8a08bac8f6b1f67debb7819942cca5d6","unresolved":false,"context_lines":[{"line_number":273,"context_line":"        try:"},{"line_number":274,"context_line":"            self.state_rpc.report_state(self.context,"},{"line_number":275,"context_line":"                                        self.agent_state,"},{"line_number":276,"context_line":"                                        self.use_call)"},{"line_number":277,"context_line":"            self.use_call \u003d False"},{"line_number":278,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":279,"context_line":"        except Exception:"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_ac0690cb","line":276,"in_reply_to":"baada198_c0271662","updated":"2014-07-23 12:05:28.000000000","message":"thanks for explanation.","commit_id":"d96754db111b9362564e23ed8cde87aec84a689d"},{"author":{"_account_id":1923,"name":"Mohammad Banikazemi","email":"mbanikazemi@gmail.com","username":"mb-s"},"change_message_id":"d6facf3b84b25b5c3e838c7468005c620d978b37","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                                        self.use_call)"},{"line_number":277,"context_line":"            self.use_call \u003d False"},{"line_number":278,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":279,"context_line":"        except Exception:"},{"line_number":280,"context_line":"            LOG.exception(_(\"Failed reporting state!\"))"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"    def setup_rpc(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_314e8dc3","line":279,"updated":"2014-07-22 14:50:53.000000000","message":"Should you catch rpc.common.Timeout in particular and adjust the log message accordingly?","commit_id":"fd457c4cbd1ea239d0f4f4572faee20e3c13ea71"},{"author":{"_account_id":8646,"name":"yangxurong","email":"yangxurong@huawei.com","username":"yangxurong"},"change_message_id":"e613731b3ddf7d68230fa3d67977665653d206c9","unresolved":false,"context_lines":[{"line_number":276,"context_line":"                                        self.use_call)"},{"line_number":277,"context_line":"            self.use_call \u003d False"},{"line_number":278,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":279,"context_line":"        except Exception:"},{"line_number":280,"context_line":"            LOG.exception(_(\"Failed reporting state!\"))"},{"line_number":281,"context_line":""},{"line_number":282,"context_line":"    def setup_rpc(self):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_e77d096f","line":279,"in_reply_to":"baada198_314e8dc3","updated":"2014-07-23 08:42:08.000000000","message":"In the newest code oslo.messaging.ClientSendError will be raised instead of a special time out exception for using call.","commit_id":"fd457c4cbd1ea239d0f4f4572faee20e3c13ea71"},{"author":{"_account_id":8213,"name":"Claudiu Belu","email":"cbelu@cloudbasesolutions.com","username":"claudiub"},"change_message_id":"d2f9b2bc18890bbb9ef4f64b3407db1fa42f3c45","unresolved":false,"context_lines":[{"line_number":258,"context_line":"            self.state_rpc.report_state(self.context,"},{"line_number":259,"context_line":"                                        self.agent_state,"},{"line_number":260,"context_line":"                                        self.use_call)"},{"line_number":261,"context_line":"            self.use_call \u003d False"},{"line_number":262,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":263,"context_line":"        except Exception:"},{"line_number":264,"context_line":"            LOG.exception(_(\"Failed reporting state!\"))"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_f32712b3","line":261,"updated":"2014-08-11 11:23:46.000000000","message":"What if a second _report_state results in exception (e.g. Controller Node is down?)? Shouldn\u0027t the self.use_call be True then?","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"},{"author":{"_account_id":8646,"name":"yangxurong","email":"yangxurong@huawei.com","username":"yangxurong"},"change_message_id":"327b046cedc4413374a69d43d6768d12a0705dbc","unresolved":false,"context_lines":[{"line_number":258,"context_line":"            self.state_rpc.report_state(self.context,"},{"line_number":259,"context_line":"                                        self.agent_state,"},{"line_number":260,"context_line":"                                        self.use_call)"},{"line_number":261,"context_line":"            self.use_call \u003d False"},{"line_number":262,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":263,"context_line":"        except Exception:"},{"line_number":264,"context_line":"            LOG.exception(_(\"Failed reporting state!\"))"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_986c1835","line":261,"in_reply_to":"baada198_f32712b3","updated":"2014-08-12 02:00:20.000000000","message":"In _report_state, if self.state_rpc.report_state meets an exception, self.use_call is still True since \"self.use_call \u003d False\" won\u0027t be executed.\n\nIf self.use_call is already set to False and then an exception is raised, we don\u0027t set self.use_call back to True since the motivation of this patch is to guarantee OVS agent updates its start-up time when it starts, by sending \"start_flag\" message with \"call\" method.","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"}],"neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py":[{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"15f021b448b3d3a5486e978b2a8e05a5bb15a478","unresolved":false,"context_lines":[{"line_number":770,"context_line":"            self.agent.use_call \u003d False"},{"line_number":771,"context_line":"            self.agent._report_state()"},{"line_number":772,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":773,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":774,"context_line":"            self.assertNotIn(\"start_flag\", self.agent.agent_state)"},{"line_number":775,"context_line":"            self.assertEqual("},{"line_number":776,"context_line":"                self.agent.agent_state[\"configurations\"][\"devices\"],"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_126067ce","line":773,"updated":"2014-07-23 17:03:02.000000000","message":"I\u0027d remove line 770. Modify this line:\n\nreport_st.assert_called_with(self.agent.context, self.agent.agent_state, self.agent.use_call)\n\nAnd add an assert to verify that use_call is set the False after the first call. Something like this after line 773:\n\nself.assertFalse(self.agent.use_call)\n\nI think this would test exactly what you are trying to fix with this patch.","commit_id":"35f1f7226da0ca1f02487a404d8b1b2949a2b2a4"},{"author":{"_account_id":8646,"name":"yangxurong","email":"yangxurong@huawei.com","username":"yangxurong"},"change_message_id":"1d54776cacf4e1de9264d0685767b53eafd1467c","unresolved":false,"context_lines":[{"line_number":770,"context_line":"            self.agent.use_call \u003d False"},{"line_number":771,"context_line":"            self.agent._report_state()"},{"line_number":772,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":773,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":774,"context_line":"            self.assertNotIn(\"start_flag\", self.agent.agent_state)"},{"line_number":775,"context_line":"            self.assertEqual("},{"line_number":776,"context_line":"                self.agent.agent_state[\"configurations\"][\"devices\"],"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_24a08df3","line":773,"in_reply_to":"baada198_126067ce","updated":"2014-07-25 02:00:22.000000000","message":"Fix according to your comment in the updated patch. But\n\nreport_st.assert_called_with(self.agent.context, self.agent.agent_state, self.agent.use_call)\n\nneed to be adjusted as\n\nreport_st.assert_called_with(self.agent.context, self.agent.agent_state, True)\n\nsince after this call, self.agent.use_call is changed to False bu we expect True as the parameter.","commit_id":"35f1f7226da0ca1f02487a404d8b1b2949a2b2a4"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"9215347e34d703286a9f8cccffa75b68b076efe4","unresolved":false,"context_lines":[{"line_number":770,"context_line":"            self.agent.use_call \u003d False"},{"line_number":771,"context_line":"            self.agent._report_state()"},{"line_number":772,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":773,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":774,"context_line":"            self.assertNotIn(\"start_flag\", self.agent.agent_state)"},{"line_number":775,"context_line":"            self.assertEqual("},{"line_number":776,"context_line":"                self.agent.agent_state[\"configurations\"][\"devices\"],"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_218ced34","line":773,"in_reply_to":"baada198_24a08df3","updated":"2014-07-25 13:13:01.000000000","message":"You are right :)","commit_id":"35f1f7226da0ca1f02487a404d8b1b2949a2b2a4"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"447a10f72b69c867d489bf887004f225c197adac","unresolved":false,"context_lines":[{"line_number":768,"context_line":"                               \"report_state\") as report_st:"},{"line_number":769,"context_line":"            self.agent.int_br_device_count \u003d 5"},{"line_number":770,"context_line":"            self.agent._report_state()"},{"line_number":771,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":772,"context_line":"                                         self.agent.agent_state, True)"},{"line_number":773,"context_line":"            self.assertNotIn(\"start_flag\", self.agent.agent_state)"},{"line_number":774,"context_line":"            self.assertFalse(self.agent.use_call)"}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_ab77259e","line":771,"updated":"2014-07-31 20:27:07.000000000","message":"You\u0027re testing the implementation and not the desired behavior. Instead of asserting that use_call is False after the first _report_state, you should be testing that the first time _report_state is called, report_st is called with True as the final parameter, and that the 2nd time it\u0027s called, it\u0027s called with False as the final parameter.","commit_id":"cd7b51ecbf43aaab90756877dad888dbcfb62b78"},{"author":{"_account_id":8646,"name":"yangxurong","email":"yangxurong@huawei.com","username":"yangxurong"},"change_message_id":"372b8707dc848d1e188fbe58349e62db96b61757","unresolved":false,"context_lines":[{"line_number":768,"context_line":"                               \"report_state\") as report_st:"},{"line_number":769,"context_line":"            self.agent.int_br_device_count \u003d 5"},{"line_number":770,"context_line":"            self.agent._report_state()"},{"line_number":771,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":772,"context_line":"                                         self.agent.agent_state, True)"},{"line_number":773,"context_line":"            self.assertNotIn(\"start_flag\", self.agent.agent_state)"},{"line_number":774,"context_line":"            self.assertFalse(self.agent.use_call)"}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_de554e53","line":771,"in_reply_to":"baada198_ab77259e","updated":"2014-08-06 07:11:44.000000000","message":"Done","commit_id":"cd7b51ecbf43aaab90756877dad888dbcfb62b78"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"81c738ad2d7b0f3e381ec8d4dce53f32451a522d","unresolved":false,"context_lines":[{"line_number":775,"context_line":"            )"},{"line_number":776,"context_line":"            self.agent._report_state()"},{"line_number":777,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":778,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":779,"context_line":""},{"line_number":780,"context_line":"    def test_network_delete(self):"},{"line_number":781,"context_line":"        with contextlib.nested("}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_ed46a67d","line":778,"updated":"2014-08-07 20:45:00.000000000","message":"Could you add a unit test to check if the first report_state fails the second report_state still uses cast?","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"},{"author":{"_account_id":8646,"name":"yangxurong","email":"yangxurong@huawei.com","username":"yangxurong"},"change_message_id":"15d17b0403257c2381eab97e21486a0124b85159","unresolved":false,"context_lines":[{"line_number":775,"context_line":"            )"},{"line_number":776,"context_line":"            self.agent._report_state()"},{"line_number":777,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":778,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":779,"context_line":""},{"line_number":780,"context_line":"    def test_network_delete(self):"},{"line_number":781,"context_line":"        with contextlib.nested("}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_bf3acd94","line":778,"in_reply_to":"baada198_9a1ff06f","updated":"2014-08-11 04:15:46.000000000","message":"1. Assert_called_with will check whether the most recent call is made in a particular way, not just check from the called list. Maybe what you refer to is assert_any_call?\n\n2. The case report_state called with True then False is covered in \"test_report_state\", so I think this new unit test can just test the \"True True\" sequence. Or you prefer to merge these two cases into one test case?\n\n3. I think in your example side_effect should be [Exception(), None, None]. If the second call still meets an exception, the third call will still be called with True since use_call is not set to False.","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"},{"author":{"_account_id":8213,"name":"Claudiu Belu","email":"cbelu@cloudbasesolutions.com","username":"claudiub"},"change_message_id":"d2f9b2bc18890bbb9ef4f64b3407db1fa42f3c45","unresolved":false,"context_lines":[{"line_number":775,"context_line":"            )"},{"line_number":776,"context_line":"            self.agent._report_state()"},{"line_number":777,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":778,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":779,"context_line":""},{"line_number":780,"context_line":"    def test_network_delete(self):"},{"line_number":781,"context_line":"        with contextlib.nested("}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_b0fbd014","line":778,"in_reply_to":"baada198_bf3acd94","updated":"2014-08-11 11:23:46.000000000","message":"I agree with Akihiro, a test should be added in case of exception.\n\n1. yangxurong is right, assert_called_with checks only the last call, according to python docs.\n\n2. They should be separate test cases, since that is the point of the unit tests. Also, I agree with the True True sequence, I don\u0027t think it\u0027s particularly useful to have a True True False sequence, since True False is already tested.\n\n3. Agreed.","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"},{"author":{"_account_id":8646,"name":"yangxurong","email":"yangxurong@huawei.com","username":"yangxurong"},"change_message_id":"4a6fdb2cbf6ea73f00bd84e8ac432398e0d8bde5","unresolved":false,"context_lines":[{"line_number":775,"context_line":"            )"},{"line_number":776,"context_line":"            self.agent._report_state()"},{"line_number":777,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":778,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":779,"context_line":""},{"line_number":780,"context_line":"    def test_network_delete(self):"},{"line_number":781,"context_line":"        with contextlib.nested("}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_f5e4a1a9","line":778,"in_reply_to":"baada198_ed46a67d","updated":"2014-08-08 04:13:58.000000000","message":"Add a test like this?\n\nwith mock.patch.object(self.agent.state_rpc,\n                               \"report_state\") as report_st:\n            report_st.side_effect \u003d Exception()\n            self.agent.int_br_device_count \u003d 5\n            self.agent._report_state()\n            report_st.assert_called_with(self.agent.context,\n                                         self.agent.agent_state, True)\n            self.agent._report_state()\n            report_st.assert_called_with(self.agent.context,\n                                         self.agent.agent_state, True)\n\n_report_state will fail when self.agent.state_rpc.report_state raises an exception, in this case, use_call is still True so _report_state is also called with True the second time.","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"aa34b33e9cb160bc56d8272d367a4f7cb91a7fc0","unresolved":false,"context_lines":[{"line_number":775,"context_line":"            )"},{"line_number":776,"context_line":"            self.agent._report_state()"},{"line_number":777,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":778,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":779,"context_line":""},{"line_number":780,"context_line":"    def test_network_delete(self):"},{"line_number":781,"context_line":"        with contextlib.nested("}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_9a1ff06f","line":778,"in_reply_to":"baada198_f47c8dec","updated":"2014-08-08 21:38:49.000000000","message":"assert_called_with just check the specified call is included in the called list, so the second assert_called_with will succeed if the first assert_called_with succeeds.\n\nI think the following works:\n\n  with mock.patch.object(self.agent.state_rpc, \"report_state\") as report_st:\n      report_st.side_effect \u003d [Exception(), Exception(), None]\n      for i in range(3):\n          self.agent._report_state()\n      report_st.assert_has_calls([\n          mock.call(self.agent.context, self.agent.agent_state, True),\n          mock.call(self.agent.context, self.agent.agent_state, True),\n          mock.call(self.agent.context, self.agent.agent_state, False),\n      ])","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"},{"author":{"_account_id":11825,"name":"Sudhakar Babu Gariganti","email":"sudhakar.gariganti@gmail.com","username":"sudhakar-gariganti"},"change_message_id":"7fff420e553a20a2d783d8659bf048d1866b0a61","unresolved":false,"context_lines":[{"line_number":775,"context_line":"            )"},{"line_number":776,"context_line":"            self.agent._report_state()"},{"line_number":777,"context_line":"            report_st.assert_called_with(self.agent.context,"},{"line_number":778,"context_line":"                                         self.agent.agent_state, False)"},{"line_number":779,"context_line":""},{"line_number":780,"context_line":"    def test_network_delete(self):"},{"line_number":781,"context_line":"        with contextlib.nested("}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_f47c8dec","line":778,"in_reply_to":"baada198_f5e4a1a9","updated":"2014-08-08 15:29:45.000000000","message":"Test looks good.\nnit: we can get rid of int_br_device_count assignment?","commit_id":"674eaef06e665e70e83e9fb21922b64c79c44d66"}]}
