Merge lp:~gz/ubuntu-ci-services-itself/intergration_test_fancy into lp:ubuntu-ci-services-itself
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | 52 |
Merged at revision: | 52 |
Proposed branch: | lp:~gz/ubuntu-ci-services-itself/intergration_test_fancy |
Merge into: | lp:ubuntu-ci-services-itself |
Prerequisite: | lp:~vila/ubuntu-ci-services-itself/ppa-assigner-integration-test |
Diff against target: |
107 lines (+55/-35) 1 file modified
tests/ppa_assigner/test.py (+55/-35) |
To merge this branch: | bzr merge lp:~gz/ubuntu-ci-services-itself/intergration_test_fancy |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Evan (community) | Approve | ||
Review via email: mp+199637@code.launchpad.net |
Commit message
Use python fixtures to isolate the deployer part into its own fixture.
Description of the change
Refactoring of new integration tests to use some testing niceties, which should make reuse of the concepts easier.
Implements the setup of a juju deployment in terms of a lp:python-fixtures Fixture, this means tests can be explicit about reusing the same environment, and has room for adding cleanUp() and reset() methods.
The test assertions are now bundled in a unittest testcase as previously planned.
To post a comment you must log in.
The import sys is no longer needed, otherwise +1.