The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.
Change-Id: I95e8d9564cda2e6a06a3f40b0de6991acb07dd4c
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I3062215fcfc2e448e0f29402104496f80945aeee
as described in
https://governance.openstack.org/tc/reference/pti/python.html
projects should use 'stestr' as unit tests runner.
This patch moves unit and coverage tests to use stestr as test runner
instead of nose.
Change-Id: I8508caa6ea08c5c98b67f34be7f61417df2d7c1e
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr
(probably was used by some tox wrapper script before)
Change-Id: Iee644bd52b4a0e2cd7157a7cc750e9bdb46686b2
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I8aad9f2c5f610f8f5241fdddc21ea2a0536d1fd3
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: Iaf1274dff9e41e562e5180ffdd8f526dca3243d3
This resolves an issue running unit tests locally:
ImportError (No module named requests_mock.contrib)
Change-Id: I030b3024b2866e3fe237b8d372eee87422faf889
Closes-bug: 1602620
osc-lib is a package of common support modules for writing
OSC plugins. All common functions, classes such as exceptions,
utils, logs and so on have been moved from openstackclient to
osc-lib.
So use osc-lib instead of openstackclient.
Change-Id: Ic158ee6d74f73b4629f9f35f6f29e5a4e99b5258
This's a regression issue introduced by
I4f2f2f240404b2619ba0ee75a99fecd0ad10040e
Though we support lazy creation for queue, but it doesn't make
sense there's no result after creating the queue explicitly from cli.
So this patch introduces a new parameter named force_create to make
sure make sure the queue create is called each time when it's called
from command line interface.
Closes-Bug: #1517812
Change-Id: I72477f39da27bfa3e2bec3b876152a494b318744
This change introduces new requirements and fixes new checks by
the `hacking` module.
Change-Id: I3b98d5038c516b3115d7247fa0f4ea1189b33dff
Co-Authored-By: Victoria Martinez de la Cruz <victoria@redhat.com>
Zaqar's client library is lacking of any kind of documentation. This
needs to be fixed, hence this patch. The patch adds the docs'
infrastructure to start writing the required documentation for the
library.
Change-Id: Ife171e352da4ec977202efcb3f1dcf573edcdc27
This patch adds basic support for the API version 1.1. It basically
re-uses the specs and implementations from v1 since the API hasn't
really changed much.
Future patches will add support for the new methods and other changes.
Partially-Implements blueprint: api-v1.1
Change-Id: I40d02d6c2d3b932725f35204708d79785f59116b
mox is a test requirement, but isn't being used. mock was recently named
the chosen mocking library, and it's already in use here in
marconiclient.
Change-Id: I24a73d57ad0ccac29db317e0f4e72efdeb8962d8
Rename tools/pip-requires to requirements.txt and
tools/test-requires to test-requirements.txt.
These are standard files, and tools in the
general world are growing intelligence about them.
Fixes: bug #1179008
Change-Id: Iecf14056de51aed75f8ce46c6ef43f3167d7736d