From: Numan Siddique Date: Mon, 13 Apr 2015 15:22:33 +0000 (+0530) Subject: Fix the ImportErrors in l3 and dhcp scheduler functional tests X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=791d57922b00857e3f8bb753bff9499f3c4e1ab9;p=openstack-build%2Fneutron-build.git Fix the ImportErrors in l3 and dhcp scheduler functional tests Change-Id: I5b8746d37173869f78a9c23834f10d630d2a36cd Closes-bug: #1443480 --- diff --git a/neutron/tests/functional/agent/test_l3_agent.py b/neutron/tests/functional/agent/test_l3_agent.py index f19bca1ce..62c1ad642 100755 --- a/neutron/tests/functional/agent/test_l3_agent.py +++ b/neutron/tests/functional/agent/test_l3_agent.py @@ -48,7 +48,7 @@ from neutron.openstack.common import uuidutils from neutron.tests.common import net_helpers from neutron.tests.functional.agent.linux import base from neutron.tests.functional.agent.linux import helpers -from neutron.tests.unit import test_l3_agent +from neutron.tests.unit.agent.l3 import test_agent as test_l3_agent LOG = logging.getLogger(__name__) _uuid = uuidutils.generate_uuid diff --git a/neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py b/neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py index 964654204..0b0c7d9fd 100644 --- a/neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py +++ b/neutron/tests/functional/scheduler/test_dhcp_agent_scheduler.py @@ -21,7 +21,8 @@ from neutron.db import agents_db from neutron.db import agentschedulers_db from neutron.db import common_db_mixin from neutron.scheduler import dhcp_agent_scheduler -from neutron.tests.unit import test_dhcp_scheduler as test_dhcp_sch +from neutron.tests.unit.scheduler import (test_dhcp_agent_scheduler as + test_dhcp_sch) from operator import attrgetter # Required to generate tests from scenarios. Not compatible with nose.