Merge lp:~james-page/charms/trusty/nova-cloud-controller/tox into lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next

Proposed by James Page
Status: Merged
Merged at revision: 202
Proposed branch: lp:~james-page/charms/trusty/nova-cloud-controller/tox
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next
Diff against target: 85 lines (+58/-0)
5 files modified
.bzrignore (+2/-0)
.testr.conf (+8/-0)
requirements.txt (+11/-0)
test-requirements.txt (+8/-0)
tox.ini (+29/-0)
To merge this branch: bzr merge lp:~james-page/charms/trusty/nova-cloud-controller/tox
Reviewer Review Type Date Requested Status
Corey Bryant (community) Approve
Review via email: mp+276219@code.launchpad.net
To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #12920 nova-cloud-controller-next for james-page mp276219
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/12920/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #11996 nova-cloud-controller-next for james-page mp276219
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/11996/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #7661 nova-cloud-controller-next for james-page mp276219
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/7661/

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Looks good and tox tests run successfully.

review: Approve
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Note: I added actions dir to lint tests

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file '.bzrignore'
--- .bzrignore 2015-04-22 21:48:17 +0000
+++ .bzrignore 2015-10-30 06:30:39 +0000
@@ -1,3 +1,5 @@
1bin1bin
2.coverage2.coverage
3.testrepository
4.tox
3tags5tags
46
=== added file '.testr.conf'
--- .testr.conf 1970-01-01 00:00:00 +0000
+++ .testr.conf 2015-10-30 06:30:39 +0000
@@ -0,0 +1,8 @@
1[DEFAULT]
2test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
3 OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
4 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
5 ${PYTHON:-python} -m subunit.run discover -t ./ ./unit_tests $LISTOPT $IDOPTION
6
7test_id_option=--load-list $IDFILE
8test_list_option=--list
09
=== added file 'requirements.txt'
--- requirements.txt 1970-01-01 00:00:00 +0000
+++ requirements.txt 2015-10-30 06:30:39 +0000
@@ -0,0 +1,11 @@
1# The order of packages is significant, because pip processes them in the order
2# of appearance. Changing the order has an impact on the overall integration
3# process, which may cause wedges in the gate later.
4PyYAML>=3.1.0
5simplejson>=2.2.0
6netifaces>=0.10.4
7netaddr>=0.7.12,!=0.7.16
8Jinja2>=2.6 # BSD License (3 clause)
9six>=1.9.0
10dnspython>=1.12.0
11psutil>=1.1.1,<2.0.0
012
=== added file 'test-requirements.txt'
--- test-requirements.txt 1970-01-01 00:00:00 +0000
+++ test-requirements.txt 2015-10-30 06:30:39 +0000
@@ -0,0 +1,8 @@
1# The order of packages is significant, because pip processes them in the order
2# of appearance. Changing the order has an impact on the overall integration
3# process, which may cause wedges in the gate later.
4coverage>=3.6
5mock>=1.2
6flake8>=2.2.4,<=2.4.1
7os-testr>=0.4.1
8charm-tools
09
=== added file 'tox.ini'
--- tox.ini 1970-01-01 00:00:00 +0000
+++ tox.ini 2015-10-30 06:30:39 +0000
@@ -0,0 +1,29 @@
1[tox]
2envlist = lint,py27
3skipsdist = True
4
5[testenv]
6setenv = VIRTUAL_ENV={envdir}
7 PYTHONHASHSEED=0
8install_command =
9 pip install --allow-unverified python-apt {opts} {packages}
10commands = ostestr {posargs}
11
12[testenv:py27]
13basepython = python2.7
14deps = -r{toxinidir}/requirements.txt
15 -r{toxinidir}/test-requirements.txt
16
17[testenv:lint]
18basepython = python2.7
19deps = -r{toxinidir}/requirements.txt
20 -r{toxinidir}/test-requirements.txt
21commands = flake8 {posargs} hooks unit_tests tests
22 charm proof
23
24[testenv:venv]
25commands = {posargs}
26
27[flake8]
28ignore = E402,E226
29exclude = hooks/charmhelpers

Subscribers

People subscribed via source and target branches