'import error: manage.py builtin commands shows useful diagnostic info
when settings with import errors is provided (#14130).'

def test_import_error(self):

    self.write_settings_with_import_error(u'settings.py')
    args = [u'sqlall', u'admin_scripts']
    (out, err) = self.run_manage(args)
    self.assertNoOutput(out)
    self.assertOutput(err, u'No    module    named')
    self.assertOutput(err, u'foo42bar')
