 from ironicclient . tests . unit import utils <EOL> module_str = '<STR_LIT>' <EOL> class ImportTest ( utils . BaseTestCase ) : <EOL> def check_exported_symbols ( self , exported_symbols ) : <EOL> self . assertIn ( '<STR_LIT>' , exported_symbols ) <EOL> self . assertIn ( '<STR_LIT>' , exported_symbols ) <EOL> self . assertIn ( '<STR_LIT>' , exported_symbols ) <EOL> def test_import_objects ( self ) : <EOL> module = __import__ ( module_str ) <EOL> exported_symbols = dir ( module ) <EOL> self . check_exported_symbols ( exported_symbols ) <EOL> def test_default_import ( self ) : <EOL> default_imports = __import__ ( module_str , globals ( ) , locals ( ) , [ '<STR_LIT:*>' ] ) <EOL> exported_symbols = dir ( default_imports ) <EOL> self . check_exported_symbols ( exported_symbols ) <EOL> def test_import__all__ ( self ) : <EOL> module = __import__ ( module_str ) 
 self . check_exported_symbols ( module . __all__ ) </s>

 from ironicclient . tests . unit import utils <EOL> module_str = '<STR_LIT>' <EOL> class ImportTest ( utils . BaseTestCase ) : <EOL> def check_exported_symbols ( self , exported_symbols ) : <EOL> self . assertIn ( '<STR_LIT>' , exported_symbols ) <EOL> self . assertIn ( '<STR_LIT>' , exported_symbols ) <EOL> self . assertIn ( '<STR_LIT>' , exported_symbols ) <EOL> def test_import_objects ( self ) : <EOL> module = __import__ ( module_str ) <EOL> exported_symbols = dir ( module ) <EOL> self . check_exported_symbols ( exported_symbols ) <EOL> def test_default_import ( self ) : <EOL> default_imports = __import__ ( module_str , globals ( ) , locals ( ) , [ '<STR_LIT:*>' ] ) <EOL> exported_symbols = dir ( default_imports ) <EOL> self . check_exported_symbols ( exported_symbols ) <EOL> def test_import__all__ ( self ) : <EOL> module = __import__ ( module_str ) <EOL> self . check_exported_symbols ( module . __all__ ) </s>
