Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11437, comment 16


Ignore:
Timestamp:
Feb 28, 2015, 9:05:44 AM (5 years ago)
Author:
Jun Omae

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 [08d938de0/jomae.git].
     1The `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].
    22
    33Minor 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.