Commit Graph

9 Commits

Author SHA1 Message Date
Alex Kavanagh da16f31731 Migrate unit tests from testr to stestr
Change-Id: Icc61c198a2df0879bdf3cd2458ec827e2ed04d7c
2021-02-10 11:12:34 +00:00
Ghanshyam Mann c3d9d2ad6d [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: Ia09eea20e0c425da01f1d02dd3915bcb2da8b245
2020-03-24 18:29:01 -05:00
Frode Nordahl 1ab760f201
Add unit tests
Change-Id: I3e00a814f6228c9ad4a5833b147ab170c8e3d187
2019-09-24 16:21:54 +02:00
Camille Rodriguez ea3f7e846b 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: I77d021dfa8654ab9366bd50f67e4bdbdd17dc1db
2019-08-27 09:08:00 -04:00
Corey Bryant eec03efb47 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

Change-Id: I1b68cae8e1e131bab76c20074cf21b1c654f0271
Story: #2005924
Task: #34228
2019-07-30 10:14:06 -04:00
Ghanshyam Mann 575c16cdb2 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Iba77c5d4839ebec4b709e79ce46526d69b982ec1
2019-04-23 17:32:32 +00:00
Doug Hellmann fcf04868ab 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: I87cec522de2e0f13119701e44a6226c9a4e85e36
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-13 07:43:49 +00:00
Doug Hellmann 68e6772bbf Fix repo setup
Add .zuul.yaml,
add .gitreview configuration file

remove installation of python-apt, it breaks build and is not needed.

Change-Id: I99b87a480253d1018bb8cdb55e1766c4f07ba9dc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-13 09:23:07 +02:00
Liam Young 2b795745e1 Generl tidy, docstrings, copyright, tox.ini etc 2016-09-12 15:02:22 +00:00