]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix sneaky copypaste typo in ovs agent scheduler test
authorEugene Nikanorov <enikanorov@mirantis.com>
Wed, 29 Oct 2014 15:07:33 +0000 (19:07 +0400)
committerEugene Nikanorov <enikanorov@mirantis.com>
Thu, 30 Oct 2014 06:22:16 +0000 (10:22 +0400)
Change-Id: I3433e0bcd9834cbf387da42b8e69df9a5127b1bf

neutron/tests/unit/openvswitch/test_agent_scheduler.py

index 7bd18da1b54586bbeb5c29195425cf7557ad9701..b492fa38aec7adeff82c33fe2c7b9ecf3a431d52 100644 (file)
@@ -235,9 +235,10 @@ class OvsAgentSchedulerTestCaseBase(test_l3_plugin.L3NatTestCaseMixin,
         self.l3_notify_p = mock.patch(
             'neutron.extensions.l3agentscheduler.notify')
         self.patched_l3_notify = self.l3_notify_p.start()
-        self.l3_periodic_p = mock.patch('neutron.db.L3AgentSchedulerDbMixin.'
+        self.l3_periodic_p = mock.patch('neutron.db.l3_agentschedulers_db.'
+                                        'L3AgentSchedulerDbMixin.'
                                         'start_periodic_agent_status_check')
-        self.patched_l3_periodic = self.l3_notify_p.start()
+        self.patched_l3_periodic = self.l3_periodic_p.start()
         self.dhcp_notify_p = mock.patch(
             'neutron.extensions.dhcpagentscheduler.notify')
         self.patched_dhcp_notify = self.dhcp_notify_p.start()