Merge ~wesley-wiedenmeier/cloud-init:integration-testing-mro into cloud-init:master
Proposed by
Wesley Wiedenmeier
on 2017-03-17
| Status: | Merged |
|---|---|
| Merged at revision: | 3ec116a1bb3646c2ff932bed24b4bf087b51cb8c |
| Proposed branch: | ~wesley-wiedenmeier/cloud-init:integration-testing-mro |
| Merge into: | cloud-init:master |
| Diff against target: |
11 lines (+1/-1) 1 file modified
tests/cloud_tests/testcases/__init__.py (+1/-1) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| cloud-init commiters | 2017-03-17 | Pending | |
|
Review via email:
|
|||
Description of the Change
Integration Testing: improve testcase subclassing
Use inspect.getmro(mod) rather than mod.__bases__ to test if a potential
testcase class inherits from CloudTestCase. This allows testcases to be based on CloudTestCase indirectly, adding greater flexibility to the structure of test classes.
To post a comment you must log in.

