Changes between Initial Version and Version 1 of Ticket #11437, comment 16
- Timestamp:
- Feb 28, 2015, 9:05:44 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11437, comment 16
initial v1 1 The `Configuration.set_defaults` method uses registered classes in `ComponentMeta._components`. I think we should clean up the class instances to remove test classes and interfaces in the `tearDown` of unit tests. `ConfigSection.registry` and `ComponentMeta._registry` have the same issue. See [0 8d938de0/jomae.git].1 The `Configuration.set_defaults` method uses registered classes in `ComponentMeta._components`. I think we should clean up the class instances to remove test classes and interfaces in the `tearDown` of unit tests. `ConfigSection.registry` and `ComponentMeta._registry` have the same issue. See [0ba577eb4/jomae.git]. 2 2 3 3 Minor thing, `component.rstrip('.*')` is used, `Environment` class strips only the trailing `.*` of component name in [source:tags/trac-1.1.3/trac/env.py@:385#L382]. I think we should use the same logic.