Rename oslo.test to oslotest

The testing strategy for this library has changed, and so it
will not be installed via devstack like the other oslo libraries.
That means we don't want it in the oslo namespace package,
to avoid issues like bug 1277168.

Change-Id: I3ca1104663d0c89a351f4cc830414b41bb23fa29
This commit is contained in:
Doug Hellmann 2014-02-18 06:59:18 -08:00
parent 5f92f04e50
commit 16c319eda8
9 changed files with 10 additions and 28 deletions

View File

@ -1,11 +1,11 @@
=========
oslo.test
=========
==========
oslotest
==========
OpenStack test framework
* Free software: Apache license
* Documentation: http://docs.openstack.org/developer/oslo.test
* Documentation: http://docs.openstack.org/developer/oslotest
Features
--------

View File

@ -1,15 +0,0 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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.
__import__('pkg_resources').declare_namespace(__name__)

View File

@ -1,5 +1,5 @@
[metadata]
name = oslo.test
name = oslotest
summary = OpenStack test framework
description-file =
README.rst
@ -21,10 +21,7 @@ classifier =
[files]
packages =
oslo
oslo.test
namespace_packages =
oslo
oslotest
[global]
setup-hooks =

View File

@ -15,8 +15,8 @@
import mock
from oslo.test import base
from oslo.test import mockpatch
from oslotest import base
from oslotest import mockpatch
class Foo(object):

View File

@ -12,8 +12,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo.test import base
from oslo.test import moxstubout
from oslotest import base
from oslotest import moxstubout
class TestMoxStubout(base.BaseTestCase):