Merge lp:~leonardr/lazr.restful/fix-test-failures into lp:lazr.restful
Status: | Merged |
---|---|
Merged at revision: | 186 |
Proposed branch: | lp:~leonardr/lazr.restful/fix-test-failures |
Merge into: | lp:lazr.restful |
Diff against target: |
121 lines (+29/-4) 6 files modified
src/lazr/restful/NEWS.txt (+5/-0) src/lazr/restful/example/base/configure.zcml (+3/-0) src/lazr/restful/metazcml.py (+8/-0) src/lazr/restful/testing/helpers.py (+8/-0) src/lazr/restful/tests/test_declarations.py (+4/-3) src/lazr/restful/version.txt (+1/-1) |
To merge this branch: | bzr merge lp:~leonardr/lazr.restful/fix-test-failures |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Review via email: mp+54773@code.launchpad.net |
Description of the change
This branch fixes some test failures that started happening when I decoupled the webservice sanity checks from the module registration. Earlier, a web service that failed the sanity check would raise an exception during module registration. Now, the module is registered and the sanity check must be run afterwards. But I didn't change my tests to run the sanity check at all, so they just saw the module being registered and said "wait, that shouldn't have worked".
To fix the failures, I explicitly run webservice_
Looks good.