Commit Graph

5 Commits

Author SHA1 Message Date
Alex Kavanagh 94897d4743 Fully migrate from testr to stestr for unit tests/coverage
Change-Id: Id734e99c9a24242b07d592adfd5a7f24a36b2b09
2021-02-10 11:38:31 +00:00
Camille Rodriguez 6bc01be80c 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: Ife2c5b1e4bc3502b5bdb2f865c2cddbfcc4a554f
2019-08-27 09:05:29 -04:00
Corey Bryant 59da94a3f3 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: I21ca21dcc4cc8f7377e8a23d480c0b4b3913e765
Story: #2005924
Task: #34228
2019-07-30 10:19:32 -04:00
Paul Goins a1756bb209 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: Ia7a2f203013df9d82236818de3a48615c2892825
2019-03-01 14:40:36 +01:00
Frode Nordahl 9ad976d118
Add Neutron Load Balancer interface code and unit tests 2018-10-28 00:37:53 +02:00