Merge lp://staging/~sinzui/juju-ci-tools/fix-azure into lp://staging/juju-ci-tools

Proposed by Curtis Hovey
Status: Merged
Merged at revision: 926
Proposed branch: lp://staging/~sinzui/juju-ci-tools/fix-azure
Merge into: lp://staging/juju-ci-tools
Diff against target: 35 lines (+13/-3)
1 file modified
test_winazure.py (+13/-3)
To merge this branch: bzr merge lp://staging/~sinzui/juju-ci-tools/fix-azure
Reviewer Review Type Date Requested Status
Martin Packman (community) Approve
Review via email: mp+256645@code.staging.launchpad.net

Description of the change

Fix the broken azure test.

Azure's use of lazy loading classes means that attributes/subobjects are not guaranteed on objects without loading over the net. The generic mocks were not enforcing the spec of the real objects. This branch changed the mocks to spec the actual object we expect to be loaded. There is a hack to allow us to import the classes.

To post a comment you must log in.
Revision history for this message
Martin Packman (gz) wrote :

Ick, but looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches