'CreateModel ignores unmanaged models.'

def test_create_unmanaged_model(self):

    project_state = self.set_up_test_model('test_crummo')
    operation = migrations.CreateModel('UnmanagedPony', [], options={'proxy': True}, bases=('test_crummo.Pony',))
    self.assertEqual(operation.describe(), 'Create    proxy    model    UnmanagedPony')
    new_state = project_state.clone()
    operation.state_forwards('test_crummo', new_state)
    self.assertIn(('test_crummo', 'unmanagedpony'), new_state.models)
    self.assertTableNotExists('test_crummo_unmanagedpony')
    self.assertTableExists('test_crummo_pony')
    with connection.schema_editor() as editor:
        operation.database_forwards('test_crummo', editor, project_state, new_state)
    self.assertTableNotExists('test_crummo_unmanagedpony')
    self.assertTableExists('test_crummo_pony')
    with connection.schema_editor() as editor:
        operation.database_backwards('test_crummo', editor, new_state, project_state)
    self.assertTableNotExists('test_crummo_unmanagedpony')
    self.assertTableExists('test_crummo_pony')
