'manage.py check does not raise an ImportError validating a
complex app with nested calls to load_app'

def test_complex_app(self):

    self.write_settings('settings.py', apps=['admin_scripts.complex_app', 'admin_scripts.simple_app', 'django.contrib.admin.apps.SimpleAdminConfig', 'django.contrib.auth', 'django.contrib.contenttypes'], sdict={'DEBUG': True})
    args = ['check']
    (out, err) = self.run_manage(args)
    self.assertNoOutput(err)
    self.assertEqual(out, 'System    check    identified    no    issues    (0    silenced).\n')
