Merge lp:~lvh/divmod.org/storeless-conform-1118498 into lp:divmod.org
Proposed by
Laurens Van Houtven
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Tristan Seligmann | ||||
Approved revision: | 2705 | ||||
Merged at revision: | 2704 | ||||
Proposed branch: | lp:~lvh/divmod.org/storeless-conform-1118498 | ||||
Merge into: | lp:divmod.org | ||||
Diff against target: |
93 lines (+34/-20) 2 files modified
Axiom/axiom/item.py (+16/-14) Axiom/axiom/test/test_powerup.py (+18/-6) |
||||
To merge this branch: | bzr merge lp:~lvh/divmod.org/storeless-conform-1118498 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tristan Seligmann | Approve | ||
Review via email: mp+148490@code.launchpad.net |
Description of the change
Adds a test case for __conform__ for unstored objects, and changes the implementation to pass that test.
This means that unstored objects with in-memory powerups can be adapted to their interfaces. Previously, in-memory powerups were useless for unstored objects.
To post a comment you must log in.
This basically looks good, I only have two trivial things to comment on:
8 -
9 aggregateInterfaces = {
10 IService: serviceSpecialCase,
11 - IServiceCollection: serviceSpecialCase}
12 + IServiceCollection: serviceSpecialCase
13 + }
Instead of getting into a convoluted discussion about coding style, I'll just suggest that since you're not otherwise changing this code, the formatting should be left as-is.
36 + # adapt every popwerup to IPowerupIndirector, calling this method.
Typo: "popwerup" -> "powerup"