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: I8d9549e4653f4df7ec9f34f54f15bf0a18c9d8e2
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Ic646e184486e75e5d269a6000c8ff1bc5f78d066
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found by updated hacking version.
Remove hacking and friends from lower-constraints, they are not needed
there.
Change-Id: I013b73347ed56c8c64a8aff73ec60ea738bc0c76
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate. Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Id31d458418d904b568be0adf98d5b579cfd841cd
Signed-off-by: Charles Short <zulcss@gmail.com>
Following commits accomplishes several things:
* unit tests run with ostestr
* coverage calculation
* documentation generated using OS approach & theme
* bandit linting
Change-Id: I6c3b48805c237f0ad95220b90ff66b045c7478fb
The monascastatsd client allowed the host and port to be set but only if you
constructed a Connection object yourself. This allows you just to specify
host and port when constructing the client object.
Change-Id: Ib49e261b915c07bf8f7036164f1e4814d80ecc1f
Removing references to histogram and set types.
Converting timer data from histogram type to gauge.
Enabling tox jobs because I was depending on them to tell me if I screwed
something up.
Change-Id: If9fbbf655baca67e7f205e4493c0929ac90d386a