Commit Graph

6 Commits

Author SHA1 Message Date
Alex Kavanagh 4c69d8ceb1 Migrate unit tests from testr to stestr
Note: there aren't any unit tests, but this at least migrates away from
the deprecated testr module.

Change-Id: Ib95f7631c8ee5b2e00fcf146d6ab7ac43b81c795
2021-02-10 10:59:39 +00:00
Ghanshyam Mann a2a34c0020 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

charm repos need few updates on either py2 drop or updating
ussuri python template, tox.ini etc.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I5b119106f5f1eb41077959fe21d3ce090e70614c
2020-03-24 17:32:31 +00:00
Camille Rodriguez 92ffebddf4 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: Ie0fcbc56c0b33ef2abba47a282ffc60d62e9e236
2019-08-27 08:36:25 -04:00
Doug Hellmann 33824e9e37 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I4e2bf5a2cb77e304500b6d3c4f600117b8623d54
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 12:44:45 +00:00
Andreas Jaeger d4bf6e5612 Update tox to remove deprecated pip option
The job --allow-unverified is obsolete, also python-apt cannot be
installed and is unneeded for current jobs.

Remove so that python installation works.

Change-Id: Iee2bf644ebcb9846b8c4629f9ce8a2a884c1ec12
2018-10-04 12:14:50 +02:00
James Page dc26f9a155 Add support for verification process
Add required configuration files and generally update the interface
after move to OpenStack git/gerrit.

Also add required copyright and README files to ensure that basic
linting in UOSCI passes.

Change-Id: Ie1a9c801844e4acd0a7e16c9dc1e251cbcd36fc5
2016-07-08 13:56:48 +01:00