def METHOD_NAME(self):
    # [using * with others]
    context = util.mock_modules('pkg.__init__', 'pkg.module1', 'pkg.module2')
    with context as mock:
        with util.import_state(meta_path=[mock]):
            mock['pkg'].__all__ = ['module1']
            module = self.__import__('pkg', fromlist=['module2', '*'])
            self.assertEqual(module.__name__, 'pkg')
            self.assertTrue(hasattr(module, 'module1'))
            self.assertTrue(hasattr(module, 'module2'))
            self.assertEqual(module.module1.__name__, 'pkg.module1')
            self.assertEqual(module.module2.__name__, 'pkg.module2')