Eduardo Sousa
bbf4ad60dd
Porting tests from Amulet to Zaza and support for Python 3.8
...
Zaza tests can be found here:
https://github.com/openstack-charmers/zaza-openstack-tests/pull/59
https://github.com/openstack-charmers/zaza-openstack-tests/pull/185
Support Python 3.8 by pulling a version of charm-helpers containing https://github.com/juju/charm-helpers/pull/423
Func-Test-PR: https://github.com/openstack-charmers/zaza-openstack-tests/pull/185
Closes-Bug: #1828424
Change-Id: I844836b0c2f7556da0b73a7917b8ec18052ba841
2020-03-05 12:08:25 +01:00
Liam Young
cd455f68bc
Tests dir no longer need copy of charmhelpers
...
Charmhelpers is now installed via pip for unit tests so stop
'Make sync' from pulling it down.
Change-Id: I605e431fea9d57eac431a83c3347058c73384710
2018-10-10 12:38:59 +00:00
Frode Nordahl
6c6d608a2e
Update repo to do ch-sync from Git
...
Change-Id: I02dd12ae127870747175237d9b7c998e0c2ac0cd
2017-09-26 10:14:59 +02:00
Ryan Beisner
48ad1dbba7
Use bundletester for amulet test execution
...
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.
Rename amulet tests inline with gate-*, dev-* and dfs-*
naming standards.
Update README to refer to functional testing section of the charm
guide.
Change-Id: Id617a634f7d12e8acab07ee121f9fd38b8380c17
2016-07-19 03:31:58 +00:00
Alex Kavanagh
50af0a1bed
Update/add pause/resume maintenance mode and sync charm-helpers
...
Adds improved pause and resume unit to the charm such tha the
charm stays paused during maintenance operations. Updates the
basic_deployment.py to use the the new version of
python-ceilometerclient (that's available in xenial, but works
back to icehouse/precise.
Change-Id: I869e467d0e4d9fecd661a6f946d45e31535ea11e
2016-03-17 11:47:42 +00:00
Billy Olsen
6b300fe0ca
Use tox in Makefile targets
...
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.
Change-Id: I47859e9b828a007eb3496cc6f0cfabef3e6add2c
2016-03-15 20:11:44 -07:00
Ryan Beisner
77e08e3462
Move 00-setup to prevent extra, unnecessary bootstrap in test runs.
2016-01-08 21:44:48 +00:00
James Page
ba7531c0ad
Rework assess status to take action managed status into account
2015-10-16 12:59:37 +01:00
Ryan Beisner
729cce7d7c
update makefile unit test target
2015-10-06 14:35:01 +00:00
Ryan Beisner
f982fea51e
add ceilometer-agent sentry; add debug logging
2015-06-29 14:55:23 +00:00
Ryan Beisner
440a14574e
Amulet tests - add subordinate relation, service catalog, endpoint and nova ceilometer config checks.
2015-06-26 16:19:23 +00:00
Ryan Beisner
31522cc391
update Makefile
2015-06-12 15:02:36 +00:00
Ryan Beisner
7a1a1a0c38
auto Makefile test target (amulet): bump juju test timeout to 2700s (same value as the juju-deployer default). Also remove explicit test names, which will cause all +x files in ./tests to be executed (as bundletester does by default).
2015-04-16 21:31:59 +00:00
Ryan Beisner
0072e4a814
auto add AMULET_OS_VIP to preserved env vars in makefile
2015-04-16 21:31:50 +00:00
Liam Young
71661666bc
Added amulet tests
2015-02-17 14:09:16 +00:00
James Page
b4b3f19919
[corey.bryant,r=james-page] Sort out charmhelpers issues.
2014-12-15 09:22:07 +00:00
James Page
ff312825be
Tidy makefile
2014-07-02 09:09:25 +01:00
James Page
1e9564ad99
Fixup publish targets
2014-07-02 09:07:39 +01:00
James Page
a28ff9b5fe
Resync helpers
2014-07-02 09:05:06 +01:00
James Page
7a3b026509
Add unit tests, tidylint
2013-10-20 12:32:35 -07:00
James Page
8ec6503edd
Rebase on charmhelpers
2013-10-14 15:58:16 +01:00