Trees | Index | Help |
|
---|
Package zope :: Package proxy :: Package tests :: Module test_proxy :: Class ProxyTestCase |
|
object
--+ |TestCase
--+ | ProxyTestCase
Method Summary | |
---|---|
new_proxy(self,
o)
| |
Hook method for setting up the test fixture before exercising it. | |
test___class__(self)
| |
test_binops(self)
| |
test_bool_wrapped_None(self)
| |
test_coerce(self)
| |
test_constructor(self)
| |
test_inplace(self)
| |
test_iteration_over_proxy(self)
| |
test_iteration_using_proxy(self)
| |
test_odd_unops(self)
| |
test_pickle_prevention(self)
| |
test_proxy_attributes(self)
| |
test_proxy_callable(self)
| |
test_proxy_equality(self)
| |
test_proxy_item_protocol(self)
| |
test_proxy_ordering_lt(self)
| |
test_subclass_constructor(self)
| |
test_unops(self)
| |
test_wrapped_iterable(self)
| |
Inherited from TestCase | |
Create an instance of the class that will use the named test method when executed. | |
| |
| |
| |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail the test if the expression is true. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
Fail the test unless the expression is true. | |
| |
Run the test without collecting errors in a TestResult | |
| |
Fail immediately, with the given message. | |
Fail the test if the expression is true. | |
Fail if the two objects are equal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by their difference rounded to the given number of decimal places (default 7) and comparing to zero. | |
Fail if the two objects are unequal as determined by the '==' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
| |
| |
Returns a one-line description of the test, or None if no description has been provided. | |
Hook method for deconstructing the test fixture after testing it. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Class Variable Summary | |
---|---|
list |
binops = ['x+y', 'x-y', 'x*y', 'x/y', 'divmod(x, y)', 'x...
|
type |
proxy_class = zope.proxy.ProxyBase |
list |
unops = ['-x', '+x', 'abs(x)', '~x', 'int(x)', 'long(x)'...
|
Method Details |
---|
setUp(self)Hook method for setting up the test fixture before exercising it.
|
Class Variable Details |
---|
binops
|
unops
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:25 2005 | http://epydoc.sf.net |