
from shade.tests import base


class TestShade(base.TestCase):

    def test_something(self):
        pass


import shade
from shade.tests import base


class TestShade(base.TestCase):

    def test_openstack_cloud(self):
        self.assertIsInstance(shade.openstack_cloud(), shade.OpenStackCloud)

Add basic unit test for shade.openstack_cloud
Add basic unit test for shade.openstack_cloud

Just getting basic minimal surface area unit tests to help when making
changes. This exposed some python3 incompatibilities in
os-client-config, which is why the change Depends on
Ia78bd8edd17c7d2360ad958b3de734503d400774.

Change-Id: I9cf5082d01861a0b6b372728a33ce9df9ee8d300
Depends-On: Ia78bd8edd17c7d2360ad958b3de734503d400774

  
+ import shade
  from shade.tests import base
  
  
  class TestShade(base.TestCase):
  
-     def test_something(self):
-         pass
+     def test_openstack_cloud(self):
+         self.assertIsInstance(shade.openstack_cloud(), shade.OpenStackCloud)
  
Add basic unit test for shade.openstack_cloud
## Code Before:

from shade.tests import base


class TestShade(base.TestCase):

    def test_something(self):
        pass

## Instruction:
Add basic unit test for shade.openstack_cloud
## Code After:

import shade
from shade.tests import base


class TestShade(base.TestCase):

    def test_openstack_cloud(self):
        self.assertIsInstance(shade.openstack_cloud(), shade.OpenStackCloud)
