Updated import path in winrm client and deleted deprecated clients

Change-Id: I7f4998751609654232897882459755a82a818b75
This commit is contained in:
Jose Idar 2015-10-22 16:29:08 -05:00
parent 8f07837a1e
commit 7dcf908d8b
3 changed files with 1 additions and 22 deletions

View File

@ -1,21 +0,0 @@
# Copyright 2015 Rackspace
# 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 warnings import warn, simplefilter
simplefilter("default", DeprecationWarning)
warn(
"cafe.engine.clients.winrm_client has been moved to "
"cafe.engine.winrm.client",
DeprecationWarning)
from cafe.engine.winrm.client import WinRMClient

View File

@ -17,7 +17,7 @@ from winrm.exceptions import WinRMTransportError
from winrm.protocol import Protocol
from cafe.engine.clients.base import BaseClient
from plugins.winrm.cafe.engine.winrm.models.winrm_response \
from cafe.engine.winrm.models.winrm_response \
import WinRMResponse