Commit Graph

21 Commits

Author SHA1 Message Date
Liam Young
d449d19154 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: Ic1a646b0232980f169a03894bda52451a82a5eec
2018-10-10 12:40:57 +00:00
Frode Nordahl
9f0339e8bc Update repo to do ch-sync from Git
Change-Id: I8eb5998661deb6c61dc5c3350ceca0582dc2f1bd
2017-09-26 10:24:11 +02:00
James Page
34fbfcfb08 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.

Change-Id: I9b36f8a6375da5cf5807d51e1d009c47d74dc1dd
2016-07-18 17:58:02 +01:00
Billy Olsen
c5e6b1d277 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.

Update tox.ini to not use site-packages as the PyYAML installed
version conflicts with pip requirements.

Change-Id: I32c2829af2a44e25c429bb603098a1249d415356
2016-03-16 22:22:15 +00:00
Ryan Beisner
5b48378605 Move 00-setup to prevent extra, unnecessary bootstrap in test runs. 2016-01-08 21:45:00 +00:00
Ryan Beisner
3c6769a295 update makefile 2015-10-06 16:24:24 +00:00
Ryan Beisner
ed662213d7 update makefile, update amulet test targets, update readme 2015-08-22 04:58:53 +00:00
Ryan Beisner
094a1db5ed update amulet test re: quantum-gateway rename 2015-06-25 17:58:14 +00:00
James Page
9d2711ac86 Rename charm to neutron-gateway including code 2015-05-07 10:27:07 +01:00
Ryan Beisner
fb118d7da5 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:32:07 +00:00
Ryan Beisner
a251a9fb12 auto add AMULET_OS_VIP to preserved env vars in makefile 2015-04-16 21:31:57 +00:00
Corey Bryant
5d267c3f36 Deploy from source 2015-04-10 14:22:04 +00:00
Corey Bryant
31f23b8e2f Amulet test fixes:
* Makefile: Only run precise-icehouse and trusty-icehouse tests by default
      and increase test timeout
    * t/00-setup: Simplify dependencies install and add glanceclient
    * t/README: Mention charm-tools dependency
    * t/basic_deployment.py:
      - Specify unstable charm deployment
      - Use dicts in add_services
      - Let things settle with short sleep after deployment
      - Rename restart test
      - Cleanup on test failure
      - Fix mechanism_drivers expected value in test_ml2_config()
2014-10-07 21:19:29 +00:00
James Page
bab5899c3d Rebase on parent 2014-07-29 08:46:01 +01:00
Corey Bryant
8b5bee2c72 Add Amulet basic tests 2014-07-17 15:16:21 +00:00
Corey Bryant
0798c73db9 Move charm-helpers-sync.yaml to charm-helpers-hooks.yaml and
add charm-helpers-tests.yaml.
2014-07-09 13:12:21 +00:00
James Page
8132d4a8a5 Resync helpers 2014-07-02 09:25:12 +01:00
James Page
5e6cbe5100 [tribaal,r=james-page,t=james-page]
Resync helpers to pickup fixes for apt lock races and better block device detection and handling.
2014-05-21 11:07:03 +01:00
James Page
0fc8a2a313 [niedbalski] Force use of http for key imports 2014-05-02 10:48:12 +01:00
James Page
62a5561e69 Redux to use agree structure and OS templating 2013-07-19 10:46:25 +01:00
James Page
f3ed95e621 First phase of charm-helper refactoring 2013-07-10 15:52:15 +01:00