from SoftLayer.tests import unittest
from SoftLayer.CLI.modules import get_module_list

from importlib import import_module


class TestImportCLIModules(unittest.TestCase):

    def test_import_all(self):
        modules = get_module_list()
        for module in modules:
            module_path = 'SoftLayer.CLI.modules.' + module

            import_module(module_path)

from SoftLayer.tests import unittest
from SoftLayer.CLI.modules import get_module_list

from importlib import import_module


class TestImportCLIModules(unittest.TestCase):

    def test_import_all(self):
        modules = get_module_list()
        for module in modules:
            module_path = 'SoftLayer.CLI.modules.' + module
            print("Importing %s" % module_path)
            import_module(module_path)

Print modules being imported (for easier debugging)
Print modules being imported (for easier debugging)

  from SoftLayer.tests import unittest
  from SoftLayer.CLI.modules import get_module_list
  
  from importlib import import_module
  
  
  class TestImportCLIModules(unittest.TestCase):
  
      def test_import_all(self):
          modules = get_module_list()
          for module in modules:
              module_path = 'SoftLayer.CLI.modules.' + module
- 
+             print("Importing %s" % module_path)
              import_module(module_path)
  
Print modules being imported (for easier debugging)
## Code Before:
from SoftLayer.tests import unittest
from SoftLayer.CLI.modules import get_module_list

from importlib import import_module


class TestImportCLIModules(unittest.TestCase):

    def test_import_all(self):
        modules = get_module_list()
        for module in modules:
            module_path = 'SoftLayer.CLI.modules.' + module

            import_module(module_path)

## Instruction:
Print modules being imported (for easier debugging)
## Code After:
from SoftLayer.tests import unittest
from SoftLayer.CLI.modules import get_module_list

from importlib import import_module


class TestImportCLIModules(unittest.TestCase):

    def test_import_all(self):
        modules = get_module_list()
        for module in modules:
            module_path = 'SoftLayer.CLI.modules.' + module
            print("Importing %s" % module_path)
            import_module(module_path)
