<s> import unittest <EOL> from gunstar . utils import import_object <EOL> class UtilsTestCase ( unittest . TestCase ) : <EOL> def test_import_object ( self ) : <EOL> import gunstar <EOL> from tests . resources import config_settings <EOL> self . assertEqual ( <EOL> import_object ( '<STR_LIT>' ) , <EOL> gunstar . http . Request <EOL> ) <EOL> self . assertEqual ( <EOL> import_object ( '<STR_LIT>' ) , <EOL> gunstar . http . Response <EOL> ) <EOL> self . assertEqual ( <EOL> import_object ( '<STR_LIT>' ) , <EOL> gunstar . http <EOL> ) <EOL> self . assertEqual ( <EOL> import_object ( '<STR_LIT>' ) , <EOL> config_settings <EOL> ) <EOL> self . assertEqual ( <EOL> import_object ( '<STR_LIT>' ) , <EOL> gunstar <EOL> ) <EOL> self . assertRaises ( <EOL> ImportError , import_object , '<STR_LIT>' <EOL> ) </s>
