diff --git a/neutron/tests/unit/openvswitch/test_agent_scheduler.py b/neutron/tests/unit/openvswitch/test_agent_scheduler.py index 7bd18da1b5..b492fa38ae 100644 --- a/neutron/tests/unit/openvswitch/test_agent_scheduler.py +++ b/neutron/tests/unit/openvswitch/test_agent_scheduler.py @@ -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()