'check reports an error on a nonexistent app in INSTALLED_APPS.'

def test_nonexistent_app(self):

    self.write_settings('settings.py', apps=['admin_scriptz.broken_app'], sdict={'USE_I18N': False})
    args = ['check']
    (out, err) = self.run_manage(args)
    self.assertNoOutput(out)
    self.assertOutput(err, ('ModuleNotFoundError' if PY36 else 'ImportError'))
    self.assertOutput(err, 'No    module    named')
    self.assertOutput(err, 'admin_scriptz')
