summaryrefslogtreecommitdiff
path: root/tempest/tests/lib/services/object_storage
Commit message (Collapse)AuthorAgeFilesLines
* Use CONF.identity.disable_ssl_certificate_validation in object_clientzhufl2021-01-121-3/+6
| | | | | | | | | | | | | | | | create_object_continue interface in object_client doesn't use CONF.identity.disable_ssl_certificate_validation, so even if we set disable_ssl_certificate_validation=true in tempest.conf, sometimes we will still get "ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)" So create_object_continue should judge whether to check ssl certification according to CONF.identity.disable_ssl_certificate_validation. Change-Id: I38f4416641e396caf88d16e3b418f0fc7577179d Closes-Bug: #1907554
* Use unittest.mock instead of third party mockSean McGinnis2020-05-171-1/+1
| | | | | | | | Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: If1de2f48da1fd6ed3f96c98b8dce9eace4f8095d Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update hacking for Python3Andreas Jaeger2020-04-041-2/+2
| | | | | | | | | | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Update local hacking checks for new flake8, remove vi check, it's now in hacking as H106. The tempest plugin is used on older branches as well. We really only need hacking on this repo anyways, where we no longer support python 2, so here we make the requirement specific to python 3. Change-Id: I3f4216f66606fbc450a46c93de306399b7f3cd65
* Accept custom registered endpointsMartin Kopec2020-01-281-1/+1
| | | | | | | | | | | | | | | The review drops usage of skip_path() filter in the related tests and uses raw_request() instead. Normally a swift url is organised as host:port/info and host:port/v1/AUTH_<tenant-id>, see https://docs.openstack.org/api-ref/object-store/ But RadosGW API is organised as host:port/swift/info and host:port/swift/v1/AUTH_<tenant-id>, see https://docs.ceph.com/docs/master/radosgw/config-ref/#swift-settings Close-bug: 1799981 Change-Id: I6a932639a05defe0f04c600afcc35a19662937af
* Move the object client to tempest.libAndrea Frittoli2017-10-171-0/+108
| | | | | | | | Move the object client to tempest.lib and cleanup the last bits of code that were required to manage internal-only tempest service clients. Change-Id: Ia9aeab78e530c798dfa7b7d6f71e4b3ea3a84b7f
* Move object storage capabilities_client to lib interfaceghanshyam2017-07-251-0/+54
| | | | | | | | | object storage capabilities_client is stable now and good to be moved as stable library interface. Partially implements blueprint consistent-service-method-names Change-Id: I06e874300a7b042ed09dc666aaeed578e814acf1
* Move object storage bulk_middleware_client to lib interfaceghanshyam2017-07-252-0/+66
object storage bulk_middleware_client is stable now and good to be moved as stable library interface. Partially implements blueprint consistent-service-method-names Change-Id: I6b44fb9a692b947baadbe049b2f7d31e4ab51035