]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix AttributeError exception for API's test_network_lifecycle
authorarmando-migliaccio <armamig@gmail.com>
Thu, 12 Feb 2015 23:20:29 +0000 (15:20 -0800)
committerarmando-migliaccio <armamig@gmail.com>
Thu, 12 Feb 2015 23:32:31 +0000 (15:32 -0800)
Change I2be04f600e6bd8d7d78948d25395d8e04fa0dea3 moved the
exception to tempest_lib. We should use the new import.

Closes-bug: #1421454

Change-Id: Id9ec2537261f101b1bed895bfe5ef2943b8548d2

neutron/tests/api/test_v2_rest.py

index cdd2b1515dff8e838c65014d22e540e055f1ad2e..6cfa0a248cd5808ba6caf633aedce70ea794ecb7 100644 (file)
@@ -18,8 +18,8 @@ This module implements BaseNeutronClient for the Tempest rest client
 and configures the api tests with scenarios targeting the Neutron API.
 """
 
-from tempest import exceptions
 from tempest import test as t_test
+from tempest_lib import exceptions
 import testscenarios
 
 from neutron.tests.api import base_v2