Commit Graph

5 Commits

Author SHA1 Message Date
Alex Kavanagh 06031deac8 Migrate unit tests from testr to stestr
Change-Id: Ia113b6cc410f4140f7b49a0afe9b3520b7b58143
2021-02-10 12:41:01 +00:00
Camille Rodriguez 544ea1f865 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: If749a61d82836d214eda97c5172b7677e76365d9
2019-08-27 08:48:47 -04:00
Corey Bryant bd1c14eb39 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: Ibc2def246bf2a96213b0e1429e4d97a5eb0f4406
Story: #2005924
Task: #34228
2019-07-30 10:19:54 -04:00
Paul Goins 3dd814ef13 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: I78170741219749d8bfb5eb7eb247877814fb9824
2019-03-01 14:40:08 +01:00
Frode Nordahl 2a1d5d445e
Add ``dashboard-plugin`` interface code and unit tests 2018-11-06 10:53:09 +01:00