'Test that by default the command generates models with `Meta.managed = False` (#14305)'

def test_managed_models(self):

    out = StringIO()
    call_command(u'inspectdb', table_name_filter=(lambda tn: tn.startswith(u'inspectdb_columntypes')), stdout=out)
    output = out.getvalue()
    self.longMessage = False
    self.assertIn(u'                                managed    =    False', output, msg=u'inspectdb    should    generate    unmanaged    models.')
