Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
python 3, create doc/requirements.txt, switch to openstackdocstheme
from obsolete oslosphinx
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's unneeded, the default is fine.
* Move constraints into deps, use TOX_CONSTRAINTS instead of obsolete
UPPER_CONSTRAINTS
* Switch to hacking 3.0, fix problems found
Change-Id: I44d09a65349a1d9b564e69a7fc32eb435446245c
We don't support python2 anymore so we don't need this compatibility
library.
This patch remove six useage.
Change-Id: I6521eebed209c976728bc189876f2406c1feea4c
Src_file option was changed to path_to_backup in freezer git repository
below, but tests were never changed, this patch is fixing this behaviour.
Freezer's change :
c7f71ff70b
Doc changes in freezer:
https://review.opendev.org/#/c/705003/
Changes in freezer-api:
https://review.opendev.org/#/c/705012/
Change-Id: I64a3e36ac68de5c45a93b56be83b017ce9f1221c
1.TypeError: a bytes-like object is required, not 'str'
Python3.X need use decode() to change "bytes" -> "str"
ft1.2: freezer_tempest_plugin.tests.freezerclient.test_freezer_cmd_action.TestFreezerCmdAction.test_freezer_cmd_actiondelete[gate]testtools.testresult.real._StringException: Traceback (most recent call last):
File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/freezer_tempest_plugin/tests/freezerclient/test_freezer_cmd_action.py", line 79, in test_freezer_cmd_actiondelete
action_id = err.split(' ')[1]
TypeError: a bytes-like object is required, not 'str'
2.AttributeError: module 'urllib' has no attribute 'urlencode'
ft1.2: freezer_tempest_plugin.tests.freezer_api.api.test_api_actions.TestFreezerApiActions.test_api_actions_get_limit[gate]testtools.testresult.real._StringException: Traceback (most recent call last):
File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/freezer_tempest_plugin/tests/freezer_api/api/test_api_actions.py", line 46, in test_api_actions_get_limit
resp, body = self.freezer_api_client.get_actions(limit=valid_limit)
File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/freezer_tempest_plugin/services/freezer_api_client.py", line 136, in get_actions
uri += '?%s' % urllib.urlencode(params)
AttributeError: module 'urllib' has no attribute 'urlencode'
Change-Id: Ice774245605fe3549c7dacb9a2891d8177777f66
oslo project provide jsonutils, and the others project use it now,
this PS to update json moudule to oslo jsonutils for consistency.
Change-Id: I51bcac143d3750aa991aeed6e95e011389f011d8
Add freezer-tempest-client job and some freezerclient test cases.
This job is a check/gate test job for python-freezerclinet project.
Change-Id: I929290a42d40bdc51fc5063739df6b28b86159bb
* It merges the freezer-api tempest plugin into freezer tempest
plugin by moving freezer and freezer-api tempest tests in
freezer_tempest_plugin/tests/freezer and
freezer_tempest_plugin/tests/freezer_api.
* clients.py is moved under main root folder.
Change-Id: I66cc2507b0bbd9dda9d6279f9b8d74c546d1b0a6
* It merges the intree freezer tempest plugin to a the newly
seperated repo freezer-tempest-plugin
* Moves freezer/tests/integration/common.py to under freezer-tempest-plugin
as it is consumed in tests/api/base.py .
* Excluding freezer/tests/freezer_tempest_plugin/tests/api/test_version.py
as it is dependent on freezer project and it should be moved under
integration tests.
Change-Id: I6967f915758728827e8ddcd1a45a7023904b694e