
Following a recent change in Python[1], mock_open now invokes close() when used as a context manager. This causes some of our tests to fail. This commit rewrites part of these tests to be less dependant on internal Python details. [1] https://github.com/python/cpython/pull/26902 Change-Id: Iad9c0f0bf7f34d5cf209ec10863b28ddde281d7e Signed-off-by: Cyril Roelandt <cyril@redhat.com>
Team and repository tags
Python bindings to the OpenStack Images API
This is a client library for Glance built on the OpenStack Images
API. It provides a Python API (the glanceclient
module) and
a command-line tool (glance
). This library fully supports
the v1 Images API, while support for the v2 API is in progress.
Development takes place via the usual OpenStack processes as outlined in the developer guide. The master repository is in Git.
See release notes and more at https://docs.openstack.org/python-glanceclient/latest/.
- License: Apache License, Version 2.0
- PyPi - package installation
- Online Documentation
- Launchpad project - release management
- Blueprints - feature specifications
- Bugs - issue tracking
- Source
- Specs
- How to Contribute
Description
Languages
Python
99.7%
Shell
0.3%