Commit Graph

25 Commits

Author SHA1 Message Date
Edin Sarajlic 466ab24557 Port Charm RabbitMQ func tests from Amulet to Zaza
func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/60

Change-Id: I876a90ce58c89e4a760dad88d5a2381d60171037
Closes-Bug: #1828424
2019-10-10 13:05:09 +11:00
Alex Kavanagh 79a1ea26d6 Change charm to py3
The tests are still py2; they'll need an update to zaza at some point.

Change-Id: I2c4b1ba0212f96cf4a725c80d87b8b2bfed2186f
2018-10-24 14:50:35 +01:00
Liam Young 574ed6ef74 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: I5fb93816e9074c1752f23e4eea6f8f0b88ff04c2
2018-10-10 12:41:38 +00:00
Frode Nordahl 2b30d94a64 Update repo to do ch-sync from Git
Change-Id: I586125cac1d6186ec7507dca73a1b74c38af355d
2017-09-26 09:15:45 +02:00
Alex Kavanagh 414d6e72ba Fix alphanumeric comparisons for openstack and ubuntu releases
- sync charmhelpers with fix-alpha helpers
- fix up code where the alpha comparisons are done

Change-Id: I8e40800da83457ea34c054f1506704a4fbc66183
Related-Bug: #1659575
2017-05-05 12:48:07 +01:00
James Page df8742dc74 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-* and dfs-* naming standards.

Update README to refer to functional testing section of the charm
guide.

Drop deprecated tests as no longer used in any automated way.

Change-Id: I5fbfb7484ae2fdc5ed10e5a992cedc94df071ee4
2016-07-21 17:58:15 +00:00
Billy Olsen 96f8e03d32 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: I42decd23a11ca891b76b0cfa939d161654f50c34
2016-03-15 20:14:01 -07:00
James Page 8fcf48a92a Further makefile tidy 2016-02-16 07:57:35 +00:00
James Page 221f1c80f2 Refactor to use tox instead of managing venvs directly 2016-02-16 07:51:51 +00:00
Ryan Beisner e26ee19cf7 Move 00-setup to prevent unnecessary boostrap/destroy loop in amulet test runs 2015-10-21 13:36:00 +00:00
Ryan Beisner dcafc5970f update sync target 2015-10-06 18:43:11 +00:00
Ryan Beisner 2c5ee1701e update makefile 2015-10-06 15:10:38 +00:00
Ryan Beisner eeb752bb23 refactor amulet tests, update makefile, deprecate old amulet tests
resync tests/charmhelpers from https://code.launchpad.net/~1chb1n/charm-helpers/amulet-rmq-helpers
2015-09-03 18:58:14 +00:00
Liam Young b35957b3cd [thedac, r=gnuoy] This change adds support for queue monitoring by nagios. 2015-04-20 12:13:39 +01:00
Billy Olsen 893f14f3ca Fix remaining amulet issues, lint, and http proxy settings for the
20-different-repositories test.
2015-04-15 00:59:43 -07:00
Billy Olsen cb3e6741a5 [wolsen,r=]
Resolves the amulet SSL test failure by generating the SSL certificates as
part of the amulet test suite run rather than providing pre-made ssl certs.

Fixes-Bug: #1436014
2015-04-13 15:11:34 -07:00
David Ames dc0bfbc00d Fix Billy Olsen's suggestions 2015-04-13 13:00:59 -07:00
James Page dd1bf26402 Run flake8 from venv as well 2015-01-23 09:01:50 +00:00
Felipe Reyes 13c0356a79 Create virtualenv to run unit tests 2015-01-19 15:02:29 -03:00
Felipe Reyes b93bbda1d6 Add amulet test 2015-01-12 23:57:29 -03:00
Edward Hope-Morley 8272f214ab refactored hosts file update. added unit tests 2014-10-08 16:57:57 +01:00
David Britton f3c5af993c - make use of new compare_versions logic in charm helpers (fixing lp:1375084)
- add unit test for the same
2014-09-28 21:59:17 -06:00
James Page eaaa2cc78d Add publish target to makefile to help prevent precise/trusty branches getting out of sync 2014-06-30 11:16:35 +01:00
James Page 852f465581 Redux take 1 2014-03-05 12:57:20 +00:00
yolanda.robla@canonical.com e5df517c74 refreshed charmhelpers 2014-01-24 14:05:44 +01:00