Commit Graph

12 Commits

Author SHA1 Message Date
Arx Cruz 2e09b75839 Updating download_with_retry function
Older versions of tenacity doesn't support iterator in the Retrying
class, so updating the function to use the decorator instead, so we can
keep compatibility.

Change-Id: I33fa112975f355cf4f4396ec331200b15a366161
2021-04-26 16:17:37 +02:00
Arx Cruz 506bd27890 Add alternative image to be downloaded
Sometimes the image is being download from some other place rather than
the C.DEFAULT_IMAGE, and then it fails due the fact the url is down.
Add the --alt-image option allows tempestconf to instead of fail, try
again download a different image

Change-Id: Ia1af9e684dc4488841e2b54c5817902e19e51b7f
2021-03-15 12:29:30 +01:00
Lukas Piwowarski 1c83ae3a99 Replace os-client-config module by openstacksdk
Because openstacksdk superseded os-client-config module, it is
recommended to use this module instead.

Story: 2002021
Task: 19662

Change-Id: I6f225416ff4791a00b04655614eb8f24bed8ae7b
2019-08-09 07:30:19 +00:00
Luigi Toscano cdbc98572d More compatibility with Python 3
- use the six version of configparser and urllib, and depends on six;
- remove relative imports;
- adapt few tests to the changes.

The changes above should be noop from the point of view of
functionalities, at least on python 2.

And also:
- replace the py34 tox virtualenv with py35;
- add a non-voting py35 job (locally for now, it will be enabled
  to project-config also for gating when stable).

Story: 2002574
Task: 22142
Change-Id: I0a35abaae6f5b7095ebae765fbe2163046e0a4da
2018-06-26 23:20:52 +02:00
Martin Kopec 243ab6cb47 Generate accounts.yaml
Generate accounts.yaml file when create_accounts_file
is specified and test_accounts is not.

Story: 2001693
Task: 8685

Change-Id: I7ed8390b29a430d97e1846f8f868f5b6af8eb02b
2018-06-14 12:54:01 +00:00
Chandan Kumar f59182fb41 Fixed {test,-}.requirements.txt
* Fixed package name of oslo.config and moved stestr to test-
  requirements.txt

* Increased timeout for packstack job
Change-Id: I0b851360fb710a235b51d2eda8e608ae934d9f77
2018-02-13 10:23:18 +00:00
Martin Kopec ea03aeedf2 Switch to use stestr for unit tests
The patch:
 * replaces .testr.conf by .stestr.conf
 * removes os-testr requirement
 * adds stestr requirement
 * edits tox.ini file so that only stestr is used
 * removes .testrepository from .gitignore

Change-Id: I14dae1cc58e3b5e2b3157df0803c3a15e9b55102
2017-12-05 10:06:13 +00:00
Daniel Mellado 723f92d022 Add os-client-config support
This patch adds os-client-config[1] support to python-tempestconf.
Further documentation on usage has been added to the included release
note. In addition, all args from os-client-config are supported.

[1] https://github.com/openstack/os-client-config

Co-Authored-By: Martin Kopec <mkopec@redhat.com>
Closes Issue: #2
Change-Id: I79e7ffb42071abcf1744f21265660fd5cfe0c6a0
2017-04-12 09:43:28 +02:00
Martin Kopec 088ec97bf0 Add unit tests
The patch adds unit tests for methods of api_discovery module.

Change-Id: Idc0f4b511e5d54e8a21ade6694e18add12c4e9ec
2017-02-07 11:20:40 +00:00
Chandan Kumar 305bf0bb19 Refactored python-tempestconf to work with devstack
Change-Id: I5143d9ef63d7bf326b477110c0ff6f82b3c2a9b2
2017-01-18 17:47:00 +05:30
Martin Kopec aa7973cd05 added requirements 2016-08-25 14:12:08 +02:00
Martin Kopec 8c913923a0 Initial Cookiecutter Commit. 2016-08-24 17:21:57 +02:00