6 Commits

Author SHA1 Message Date
Vladyslav Drok
94c5230413 Do not load credentials on import in tempest plugin clients.py
Set the ADMIN_CREDS global variable inside the Manager class
constructor instead of doing it on module import.

Change-Id: I8c82fa077f316c747a37e31980f7c2d74986bad2
Closes-Bug: 1671813
2017-03-10 16:16:14 +02:00
Vladyslav Drok
36bd9235a2 Remove service argument from tempest plugin client manager
It was removed as part of commit
e4be907e34e043888bb10b29655018dd2d4eb06e to tempest.

Also, fix python3 compatibility for API boolean type

This was throwing errors in the latest WSME on python 3.5, make it the
right string type instead. It must be squashed into this change because
each fixes a different CI job, and they can't land without each other.

Closes-Bug: #1654202
Change-Id: I5cefad7d9d8f6db51fd891ecce9879979c83baee
2017-01-06 03:29:00 +00:00
Thiago Paiva
ab6f73f7a0 Bring configurations from tempest to ironic_tempest_plugin
To remove our tests from tempest first we need to bring the configurations that
we need to the tempest plugin.

Closes-Bug: #1614516
Change-Id: Iad6e16c28cf2a35cc6bf040f57224d32c085b7bc
2016-11-14 10:50:04 -05:00
Emilien Macchi
b8f227e62e tempest: start using get_configured_admin_credentials
Tempest removed get_configured_credentials in [1].
This patch aims to update the way we get admin credentials in Tempest
client code.

[1] bc0a7a6d80

Change-Id: Ic97c011f8beec8df4253949285794be21b10f7cf
2016-05-29 21:58:13 -04:00
Yuiko Takada
2f6d37129b Add support for API microversions in Tempest tests
This adds support for testing Ironic API microversions, specified
as an additional 'X-OpenStack-Ironic-API-Version' header. This change
also adds tests for Ironic API /v1/nodes/(node_ident)/states/*
endpoint for microversions that were changing state machine.

Co-Authored-By: Vladyslav Drok <vdrok@mirantis.com>
Change-Id: Ibf0c73aa6795aaa52e945fd6baa821de20a599e7
2016-05-25 13:30:11 +03:00
Yuiko Takada
57e3ba1af8 Migrate Tempest tests into Ironic tree
By using Tempest External Plugin, Tempest tests no longer
need to live in Tempest tree.
This patch set migrates Tempest tests from Tempest tree to Ironic.

Change-Id: Ic52806987dae9f9df561ebd662f12c3445d0e2af
2016-01-19 18:59:14 +09:00