Merge lp:~bcsaller/charm-tools/test-minimal-working-set into lp:charm-tools/1.2
Proposed by
Benjamin Saller
Status: | Merged |
---|---|
Merged at revision: | 306 |
Proposed branch: | lp:~bcsaller/charm-tools/test-minimal-working-set |
Merge into: | lp:charm-tools/1.2 |
Diff against target: |
184 lines (+59/-46) 4 files modified
charmtools/test.py (+24/-20) tests/test_juju_test.py (+32/-26) tests_functional/charms/test/tests/00_setup (+2/-0) tests_functional/charms/test/tests/helper.bash (+1/-0) |
To merge this branch: | bzr merge lp:~bcsaller/charm-tools/test-minimal-working-set |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
charmers | Pending | ||
Review via email: mp+202400@code.launchpad.net |
Description of the change
Don't bootstrap for non-executable tests
This makes an effort to skip tests that can't exec. It does
change the policy that tests that expect to execute must
be executable, but we don't know the interpreter w/o that
anyway.
This also moves the find_test tests from being all mocks
to using real code which is a win IMO.
To post a comment you must log in.
Reviewers: mp+202400_ code.launchpad. net,
Message:
Please take a look.
Description:
Don't bootstrap for non-executable tests
This makes an effort to skip tests that can't exec. It does
change the policy that tests that expect to execute must
be executable, but we don't know the interpreter w/o that
anyway.
This also moves the find_test tests from being all mocks
to using real code which is a win IMO.
https:/ /code.launchpad .net/~bcsaller/ charm-tools/ test-minimal- working- set/+merge/ 202400
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/54870043/
Affected files (+61, -46 lines): juju_test. py l/charms/ test/tests/ 00_setup l/charms/ test/tests/ helper. bash
A [revision details]
M charmtools/test.py
M tests/test_
A tests_functiona
A tests_functiona