vmware-nsx/vmware_nsx/db/migration/models/head.py
Abhishek Raut e009eed875 Fix test_migration import
Model migration tests were not run because of incorrect import.
Run them in unit test mode instead of functional jobs.
Also fix existing migrations and models which are not in sync.

Change-Id: I4f7362972929308201776214fe01c007f14a6580
2016-09-14 00:01:08 -07:00

26 lines
973 B
Python

# Copyright 2015 VMware, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from neutron.db.migration.models import head
from vmware_nsx.db import extended_security_group # noqa
from vmware_nsx.db import extended_security_group_rule # noqa
from vmware_nsx.db import nsx_models # noqa
from vmware_nsx.db import nsxv_models # noqa
from vmware_nsx.db import vcns_models # noqa
def get_metadata():
return head.model_base.BASEV2.metadata