openstacksdk/openstack/tests
Monty Taylor 161f5123bf Compute location properly in server
The shade layer pulls the az and project_id info out of the server
record and feeds it into the location field. This is because the
location field should be where the resource is, and the existing token
should only be a fallback.

This isn't happening in the resource layer, so start doing that.

As a result of digging, make sure we always pass in the connection
object to the Resources when we make them. And stop creating a bare
resource in order to use the 'new' class method. It's a class method, we
don't need to instantiate.

Change-Id: Ic8850cd2863e2c806464b92cde2c749f6cc01a91
2019-01-11 20:18:53 +00:00
..
ansible Add more options to enable ansible testing feature 2018-08-09 10:53:59 +08:00
functional Merge "Restrict inventory test to devstack-admin" 2019-01-11 00:14:06 +00:00
unit Compute location properly in server 2019-01-11 20:18:53 +00:00
__init__.py Sync hacking requirement with global requirements 2014-06-11 11:00:42 -07:00
base.py Restore timeout_scaling_factor 2018-09-25 14:05:23 -05:00
fakes.py Fix latest flake8 issues 2018-10-29 16:44:05 -05:00