Merge lp:~benji/lazr.restful/deterministic-wadl-from-trunk into lp:lazr.restful
Proposed by
Benji York
Status: | Merged |
---|---|
Merged at revision: | 142 |
Proposed branch: | lp:~benji/lazr.restful/deterministic-wadl-from-trunk |
Merge into: | lp:lazr.restful |
Diff against target: |
268 lines (+97/-15) 6 files modified
src/lazr/restful/_resource.py (+7/-8) src/lazr/restful/tales.py (+4/-3) src/lazr/restful/tests/test_utils.py (+26/-1) src/lazr/restful/tests/test_webservice.py (+52/-2) src/lazr/restful/utils.py (+7/-0) versions.cfg (+1/-1) |
To merge this branch: | bzr merge lp:~benji/lazr.restful/deterministic-wadl-from-trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Leonard Richardson (community) | Approve | ||
Review via email: mp+33577@code.launchpad.net |
Commit message
Make the generated WADL consistent for a given input so it doesn't vary from one call to the next.
Description of the change
Make the generated WADL consistent for a given input so it doesn't vary from one call to the next.
To post a comment you must log in.
Needs some minor changes:
1. Move sorted_ named_things( ) to utils.py and its test to doc/utils.txt
2. Get rid of the 'distribute' line.
3. You don't need to use exec(). You can create your own InterfaceClass with a custom __dict__. Look at declarations.py for an example.