diff options
author | Boris Pavlovic <boris@pavlovic.me> | 2013-03-24 23:19:36 +0400 |
---|---|---|
committer | Boris Pavlovic <boris@pavlovic.me> | 2013-03-26 09:05:59 +0400 |
commit | eeca83d5c807ad74160d88fdc24abdcdf01a1241 (patch) | |
tree | 615c1e420852cc36722be3fd3b374dcdc0df661a /nova/utils.py | |
parent | 7f185dff87a939f7a8ae8248528d0957dce7bc81 (diff) | |
download | nova-eeca83d5c807ad74160d88fdc24abdcdf01a1241.tar.gz nova-eeca83d5c807ad74160d88fdc24abdcdf01a1241.tar.xz nova-eeca83d5c807ad74160d88fdc24abdcdf01a1241.zip |
Add missing tests for db.instance_type_access_* methods
There was no tests in test_db_api for instance_type_access_* methods.
Add tests to ensure that all works.
Also these tests allow us to refactor these methods.
For example add missing unique constraint on columns
(instance_type_id, project_id)
blueprint db-api-tests
Change-Id: Idfeda1685ef8c812c1211783aede15795b0d7caf
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions