Cleanup magnum client test case
Now magnum client is part of requirments.txt so the conditional testing part is removed from the magnum test case Change-Id: I0df5b872afeb123a743c964bde93114d38a55161
This commit is contained in:
parent
6c893e2e02
commit
a9f38e1a7b
|
@ -11,18 +11,12 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_utils import importutils
|
||||
import testtools
|
||||
|
||||
from heat.tests import common
|
||||
from heat.tests import utils
|
||||
|
||||
magnum_client = importutils.try_import('magnumclient.v1.client')
|
||||
|
||||
|
||||
class MagnumClientPluginTest(common.HeatTestCase):
|
||||
|
||||
@testtools.skipIf(magnum_client is None, 'Tests the magnum client')
|
||||
def test_create(self):
|
||||
context = utils.dummy_context()
|
||||
plugin = context.clients.client_plugin('magnum')
|
||||
|
|
Loading…
Reference in New Issue