<s> import os <EOL> import sys <EOL> from neutron . tests import base <EOL> from neutron . tests import tools <EOL> from neutron . tests . unit import tests <EOL> EXAMPLE_MODULE = '<STR_LIT>' <EOL> class ImportModulesRecursivelyTestCase ( base . BaseTestCase ) : <EOL> def test_object_modules ( self ) : <EOL> sys . modules . pop ( EXAMPLE_MODULE , None ) <EOL> modules = tools . import_modules_recursively ( <EOL> os . path . dirname ( tests . __file__ ) ) <EOL> self . assertIn ( <EOL> '<STR_LIT>' , <EOL> modules ) <EOL> self . assertIn ( EXAMPLE_MODULE , sys . modules ) </s>
