Home | Trees | Indices | Help |
|
---|
|
object --+ | testresources.TestResourceManager --+ | TestResource
A wrapper for testresources maintaining some backward compatibility.
testresources 2.0.1 pukes into the namespaces of what's returned from make. I've not really researched what they intend people to return from make these days, but in order to avoid major surgery on the code, this class simply wraps objects that don't allow arbitrary attributes with ResourceInstance when returned from make.
To make that happen, I need to override code from testresources itself, which is a pity. In case this breaks: Take all methods that call .make and replace make with _make_and_wrap.
Caution: when you implement reset(), you'll have to wrap the result with testhelpers.ResourceInstance manually; but then you'd have to copy dependencies manually, which is crazy, and so I think manual reset currently really is broken.
Instance Methods | |
Inherited from Inherited from |
Class Variables | |
Inherited from |
Properties | |
Inherited from |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |