Package gavo :: Package helpers :: Module testhelpers :: Class ResourceInstance
[frames] | no frames]

Class ResourceInstance

source code

object --+
         |
        ResourceInstance

A helper class for TestResource.

See that docstring for info on what this is about; in case you encounter one of these but need the real thing, just pull .original.

Instance Methods
 
__init__(self, original)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__getattr__(self, name) source code
 
__getitem__(self, index) source code
 
__iter__(self) source code
 
__str__(self)
str(x)
source code
 
__unicode__(self) source code
 
__len__(self) source code
 
__contains__(self, other) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, original)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)