b1e757884a
The test_inject_image_metadata test was doing some completely nonsensical mock behavior, like mocking something after we have run the method under test, and re-mocking the image repo with the thing that was supposed to change so that the assertions were not even checking the actual behavior. None of the three tests were actually testing the desired behavior. In the case of the admin_user test, it was also asserting that things were not run that *should* be, probably because the mocks were done after the execution and asserting that they *were* run would never work. This also wires up the image and image_repo mocks that were in setUp(), but unused (and incorrect) so that we can assert the calls are actually as we expect. Change-Id: Ifc2f49d49ff62c49c7dd1d2174a78bb1451b7bf3 |
||
---|---|---|
api-ref/source | ||
doc | ||
etc | ||
glance | ||
httpd | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.zuul.yaml | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
lower-constraints.txt | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
OpenStack Glance
Glance is an OpenStack project that provides services and associated libraries to store, browse, share, distribute and manage bootable disk images, other data closely associated with initializing compute resources, and metadata definitions.
Use the following resources to learn more:
API
To learn how to use Glance's API, consult the documentation available online at:
Developers
For information on how to contribute to Glance, please see the contents of the CONTRIBUTING.rst in this repository.
Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests.
Further developer focused documentation is available at:
Operators
To learn how to deploy and configure OpenStack Glance, consult the documentation available online at:
In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. You can raise bugs here:
Release notes
To learn more about Glance's new features, optimizations, and changes between versions, consult the release notes online at:
Other Information
During each design summit, we agree on what the whole community wants to focus on for the upcoming release. You can see image service plans:
For more information about the Glance project please see: