]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add address_scope_db to neutron/models/head.py
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Jul 2015 17:19:57 +0000 (13:19 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 17 Jul 2015 17:19:57 +0000 (13:19 -0400)
commit98771c19b6fe8c26aff05ea324e4db928cc747f9
tree108e206cf2fb8e2587b2f747877026e630147c3a
parenteb9226214fbf3d7a1812ca454c7c304769e262dc
Add address_scope_db to neutron/models/head.py

The head.py file ensures that all relevant models are
imported when ModelsMigrationSync tests are run in
neutron/tests/functional/db/test_migrations.   This is
one of the models that needs to be present else the
"address_scopes" table comes out as missing.   The
error is usually concealed by the fact that the module
was imported as a side effect of other tests but
is revealed if one runs test_migrations.py alone.

Change-Id: I954d8385c479de663ef1a5ef439866d2d927bcf3
neutron/db/migration/models/head.py