Deprecate oslotest.functional

oslotest is a very basic module and should depend on as less as
possible things. Currently oslotest.functional requires
os-cloud-config which test-requires oslotest. Removing
oslotest.functional solves this.
Also oslotest.functional is not used anywhere.

Change-Id: I553fc81a8ec55435004af27c4a34707cff9cf38d
This commit is contained in:
Thomas Bechtold 2017-08-21 11:36:48 +02:00
parent f23f61b8d4
commit 4688f76b21
2 changed files with 10 additions and 0 deletions

View File

@ -13,9 +13,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from debtcollector import removals
import os_client_config
removals.removed_module("oslotest.functional",
version="2.9.0", removal_version="3.0",
message="oslotest.functional will be removed.")
def _get_openstack_auth(openstack_config, cloud_name, override_name):
try:
cloud_config = openstack_config.get_one_cloud(cloud_name)

View File

@ -0,0 +1,4 @@
---
deprecations:
- |
oslotest.functional is deprecated and will be removed with oslotest 3.0.0 .