Copy tempest.common.tempest_fixtures in to Neutron

tempest_fixtures is used exclusively in Tempest and Neutron,
therefor I don't think it makes sense to move it in to tempest.lib.
I'd rather copy it in to the Neutron repo.

Change-Id: Ibb52e2cae3f1af1569a04123c43ebc4d125e326d
Related-bug: #1555356
This commit is contained in:
Assaf Muller 2016-03-09 18:59:20 -05:00
parent d2b9a9afd0
commit 3ba14bb099
4 changed files with 23 additions and 2 deletions

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from tempest.common import tempest_fixtures
from neutron.tests.tempest.common import tempest_fixtures
from tempest import test
from neutron.tests.api import base

View File

@ -19,7 +19,7 @@ from tempest import test
import testtools
from neutron.tests.api import base
from tempest.common import tempest_fixtures as fixtures
from neutron.tests.tempest.common import tempest_fixtures as fixtures
CONF = config.CONF

View File

View File

@ -0,0 +1,21 @@
# Copyright 2013 IBM Corp.
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from oslo_concurrency.fixture import lockutils
class LockFixture(lockutils.LockFixture):
def __init__(self, name):
super(LockFixture, self).__init__(name, 'tempest-')