'Regression for #11428 - Proxy models aren\'t included when you dumpdata'

def test_proxy_model_included(self):

    stdout = StringIO()
    widget = Widget.objects.create(name=u'grommet')
    management.call_command(u'dumpdata', u'fixtures_regress.widget', u'fixtures_regress.widgetproxy', format=u'json', stdout=stdout)
    self.assertJSONEqual(stdout.getvalue(), (u'[{"pk":    %d,    "model":    "fixtures_regress.widget",    "fields":    {"name":    "grommet"}}]' % widget.pk))
