Comment 2 for bug 297563

Revision history for this message
Glyph Lefkowitz (glyph) wrote :

My personal impression (take this with a grain of salt, I don't know too much about testresources yet) is that teaching the decorator to pass through unknown attribute lookups will fix this particular issue, but make the ultimate failure condition much more painful; especially given the proclivity of test-infrastructure code to make liberal use of potentially conflicting names like "name", "id", "count", etc.

The idea of somehow making the decorator less intrusive is a good one, though. If passing through attribute lookups could be combined with some mechanism for namespacing of additional attributes that might eliminate my concern...?