6f01f84ce2

Under py312, MagicMock.has_calls raises an AttributeError. This is actually a good thing, as previously we weren't actually making the assertions we thought we were making. Fix the one place that we forgot the leading `assert_`, and switch it to `any_order=True`; this is required for the test to pass, as there are additional calls between the two expected calls. See https://github.com/python/cpython/commit/1d4d677d Change-Id: Ia2ff2f198b4c1312a3e7dce32f11b87050683d45
Team and repository tags
Python bindings to the OpenStack Object Storage API
This is a python client for the Swift API. There's a Python API (the
swiftclient
module), and a command-line script
(swift
).
Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki.
This code is based on the original client previously included with OpenStack's Swift. The python-swiftclient is licensed under the Apache License like the rest of OpenStack.
- Free software: Apache license
- PyPI - package installation
- Online Documentation
- Launchpad project - release management
- Bugs - issue tracking
- Source
- How to Contribute
- Release Notes
Contents:
Description
Languages
Python
99.9%
Shell
0.1%