Commit Graph

10 Commits

Author SHA1 Message Date
Takashi Kajinami e675206288 Remove six
This plugin no longer supports python 2 thus usage of six is no longer
needed.

Change-Id: Ifec8c68edc0c67f0dae937a9cf48598b5725d3f6
2024-02-14 13:44:14 +00:00
Martin Kopec 5f4e88bb2f Use tempest's ServiceClients rather than Manager
tempest.Manager has been deprecated for more than 4 years already
and will be removed by [1].
Tempest plugins are expected to consume
tempest.lib.services.clients.ServiceClients directly.

[1] https://review.opendev.org/c/openstack/tempest/+/767628

Change-Id: Ibd04c38c084f63e9129f0bfef1df988e410695db
2021-01-03 11:22:43 +00:00
Justin Ferrieu 0d0a5a7e4a Split tests between the two current CloudKitty API versions
For convenience we split the tests between the two current versions
of CloudKitty.

Change-Id: Ib10a6ffe9e0dd6c628f05588b463230139bf42c8
Story: 2006578
Task: 36895
2019-10-11 13:23:12 +00:00
Luka Peschke 5e49179667 Fix the "serialize" method of the client in python3
The response body must be converted to a string before replacing characters in
it.

Depends-On: 634885
Change-Id: I078e7571179e3ef209c104a0a5426ae6fb9b63d8
2019-02-05 11:53:47 +01:00
Luka Peschke 2c5f4f79c6 Systematically skip test_get_rated_tenants test
With the current tempest plugin, no data is pushed to cloudkitty's storage
backend, so the API returns no rated tenants.

Change-Id: Id434bc72d9625d557833838025549dc672856334
2018-08-27 17:41:51 +02:00
Luka Peschke e14309c3b8 Re-enable tests disabled by #560082
This patch will be valid once
https://review.openstack.org/#/c/564176/ is merged.

Depends-On: I948dd9cd5c113bdaa4e49c532354938ffb45f0e7
Change-Id: I609f886aaa2fb668c87fb35f514507f5c3d2ce23
2018-05-04 11:20:04 +02:00
Martin CAMEY ee29136f6e Update client and tests for services endpoints
Cloudkitty is now based on metrics and no more on services
for the metrology part.

This reflects the changes from cloudkitty in the tempest plugin.

The tests retrieving services are updated and commented
until the corresponding patch in Cloudkitty is merged.

Change-Id: Ib829090a43e13e4b66917a66f6e865783b9216f0
2018-04-11 11:45:06 +02:00
Luka Peschke 8410927711 Ignore "Method not allowed" errors in resource cleanup functions
Change-Id: I89ca11ffa6187e35a27419358127e626a6c60127
2018-03-06 11:37:02 +01:00
Jeremy Liu ce11e09898 Correct rating API uri
Change-Id: I13f9c4d7e630b8071bda213f6966db4b2d578fce
2017-11-28 12:57:37 +00:00
Luka Peschke b58453fa85 Committing initial work
This is the initial work done on CloudKitty's tempest plugin.

Change-Id: I3251a51271c2ce3ff4bb667d1f6e09e77896b8d7
2017-11-08 15:40:34 +01:00