'Models module can be loaded from an app located under an egg\'s top-level package'

def test_egg3(self):

    egg_name = ('%s/omelet.egg' % self.egg_dir)
    with extend_sys_path(egg_name):
        with self.settings(INSTALLED_APPS=['omelet.app_with_models']):
            models_module = apps.get_app_config('app_with_models').models_module
            self.assertIsNotNone(models_module)
    del apps.all_models['app_with_models']
