Adds py3 and removes py27 from tox environment
Fixes testcases that were failing for py38 environment.
Depends-on: https://review.opendev.org/#/c/738168/
Change-Id: I1a5f88c06808449e906d9b8ad43d690136737800
In I565cd2593982a1b5c8c43cf394301c56e24b9b29 a half conversion
was performed to switch to stestr, but the dependency information
was not actually updated. Since ostestr is just a wrapper around
stestr, we don't need testrepository anymore. Also since we're
now calling stestr directly we can stop depending on the ostestr
wrapper. Also move hacking dependency into the pep8 tox environment
as it isn't needed for tests
Change-Id: Ia60c018b8691fd175468bdad81e604cbbc0e1b74
Explicit version dependency of pbr is added in requirements.txt.
Also, 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. Minor flake8 issue resolved in
``proliantutils/hpssa/objects.py``.
Change-Id: I5c019ce41606b73fe12d56b871f76ef17224d4fc
Partial-Bug: #1668848
Coverage measurement will be helpful to gauge the effectiveness
of tests and maintain the quality of the code. Also changing
.gitignore to ignore the cover directory and .coverage
directories.
Change-Id: I184210af2d2e677b7cc2fe0c6561334ebc444fad
This commit switches the tox command to use ostestr instead of
calling testr through setup.py. This is inline with the all the
other OpenStack projects. It also removes requirements.txt from
tox.ini deps as that is redundant, as per:
http://lists.openstack.org/pipermail/openstack-dev/2015-July/069663.html
Change-Id: I8133d233f0fc0e1da2677d43d65056b9b070f867
Providing the basic logging infrastructure in proliantutils.
It adds a new module log.py which encapsulates the registry of
loggers(per module) of proliantutils. NullHandler is set at the
top level logger. Added ddt(data driven tests) dependency to
test requirements to facilitate multiplication of test cases
with different data samples.
Change-Id: I2d0f24ae40bd1b71b883e4e5d4dff6409939afc0
Implements: blueprint enable-logging
This commit adds the unit test cases for the main
method ris.RISOperations._rest_op which handles the
REST interactions with the iLO.
Change-Id: I1dea76aaed8a7f92c2ccc6b91ea7cb8fc03a9969