]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Mock report_state during L3 agent functional tests
authorAssaf Muller <amuller@redhat.com>
Wed, 22 Apr 2015 16:04:42 +0000 (12:04 -0400)
committerAssaf Muller <amuller@redhat.com>
Thu, 23 Apr 2015 16:56:07 +0000 (12:56 -0400)
Less spam, yay!

Change-Id: I0a6162057f968511b200713359afdc54b107fc39

neutron/tests/functional/agent/test_l3_agent.py

index 87cef79c1e7d73edfc971fb728970cbd13ce8848..b35a40da49e199dedaefeca9881aa12c14496a07 100755 (executable)
@@ -64,6 +64,7 @@ class L3AgentTestFramework(base.BaseLinuxTestCase):
     def setUp(self):
         super(L3AgentTestFramework, self).setUp()
         mock.patch('neutron.agent.l3.agent.L3PluginApi').start()
+        mock.patch('neutron.agent.rpc.PluginReportStateAPI').start()
         self.agent = self._configure_agent('agent1')
 
     def _get_config_opts(self):