Commit Graph

7 Commits

Author SHA1 Message Date
Alex Kavanagh a3b00e5b5f Migrate unit tests from testr to stestr
Note that there are no actual unit tests.  This just ensures that the
deprecated testr module is replaced with stestr

Change-Id: Ib05d8883806c7b3dcdd6f985f17fadd780245dd1
2021-02-10 11:30:41 +00:00
Ghanshyam Mann 92b649e6c4 [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: I15b86d5a0fe5ccb5ea8a57d547fe350b3a024369
2020-02-27 21:20:27 -06:00
Camille Rodriguez 3fe523ffbd 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: Ifea7c7507baa9cc67b6b8b9ec30a726742000793
2019-08-27 09:12:12 -04:00
Doug Hellmann d4e479a6e0 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: I6748b5eb106dfcf518cf42431560931ebd88fa68
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:39:11 -04:00
Ryan Beisner f69a94e646 Update tox to remove deprecated pip option
Needed-By: Iac5fb216d58fd9d5c49367d2a99e1023f87f20b9
Change-Id: I6c9e0bf93abffcfa203b4574eed1d719bd2c4e50
2018-09-11 16:44:52 -05:00
Liam Young 1df295844d New address and new key store/retrieval mthods
set_address: New method for specifying units address for net-splits
             deployments
send_all: Send setting to all peers
retrieve_local: Retrieve key from local db
retrieve_remote: Retrieve key from peers

Fix name of interface.yaml (should not be plural)
Fix tox targetss and drop charm-tools from requirements

Change-Id: I4b0b952c3490cb7c0a877cd827333d69e81ebdab
2016-07-12 19:11:58 +00:00
Liam Young c022dc763e Add tox config and fix lint and discription 2016-06-08 14:16:54 +00:00