Commit Graph

5 Commits

Author SHA1 Message Date
Alex Kavanagh 2c22d0194d Fully migrate unit tests from testr to stestr
Change-Id: I123134a19b3a6aca7c3574e39b319eeebe163a6a
2021-02-10 11:07:50 +00:00
Camille Rodriguez d3d612c7da Avoid pollution and false positives with tox.ini
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: Ia9fe2170634183f10a70016d809742a36d1f15ff
2019-08-27 09:19:02 -04:00
Corey Bryant 677529348d Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Note that python35-charm-jobs is retained since this charm is supported
on Xenial.

Change-Id: I479e0a82505b5dd3870239b67cea3356175a43ae
Story: #2005924
Task: #34228
2019-07-30 10:16:52 -04:00
Paul Goins 6fcd1ce820 Added tox environment for gathering coverage
This technique was borrowed from the tox "cover" environment in
openstack/nova's tox.ini.  This leverages the fact that stestr lets
you override the python executable via the PYTHON environment
variable.  Doing this allows us to easily generate coverage for our
unit tests.

An important caveat is that this does not provide any coverage for
tests via zaza, amulet, etc.  It is purely focused on the unit tests.

Note that this replaces the previous .coveragerc; coverage
configuration is instead pulled from tox.ini.

Change-Id: Id408922ad90c9accd800691510f0b01ff56b9573
2019-03-01 14:40:53 +01:00
Frode Nordahl 323c1c3b14
Fixup repo config
Change-Id: I91d545198a8570d7cacf06576c71f18b06c14df4
2019-01-09 07:53:26 +01:00