nova/nova/tests/functional/db
Andrew Laski 9e4b75058b Fix RequestSpec _from_db_object
The semantics of _from_db_update are that it should update the object
that is passed in since it it typically used within an object to update
itself.  RequestSpec._from_db_object was not updating the object that
was passed in and was essentially aliasing the parameter with a newly
created object.  This fixes it and updates the tests which worked
because they used _from_db_update in a different manner than it's used
in practice.

Change-Id: Ia516caceceddc1617b78871f699a7ad674fb044a
2016-01-28 10:37:25 -05:00
..
api Remove unused logging import and LOG global var 2015-12-25 18:01:12 +08:00
__init__.py Add second migrate_repo for cells v2 database migrations 2015-03-03 15:41:40 -05:00
test_archive.py Replace stubs.Set with stub_out (fakes) 2016-01-13 22:19:38 -05:00
test_cell_mapping.py Switch from MySQL-python to PyMySQL 2015-07-03 22:09:36 +00:00
test_host_mapping.py Add HostMapping object 2015-07-10 07:30:28 +00:00
test_instance_mapping.py Add InstanceMapping object 2015-03-18 15:24:25 -04:00
test_request_spec.py Fix RequestSpec _from_db_object 2016-01-28 10:37:25 -05:00