| Home | Trees | Index | Help |
|
|---|
| Package ldaptor :: Package test :: Module test_pureber :: Class BEROctetStringSanityCheck |
|
object --+
|
object --+ |
| |
TestCase --+
|
_Assertions --+
|
TestCase --+
|
BEROctetStringSanityCheck
| Method Summary | |
|---|---|
BEROctetString(encoded=BEROctetString(n*'x')).value==n*'x' for some values of n | |
| Inherited from TestCase | |
Construct an asynchronous test case for methodName. | |
| |
| |
| |
| |
| |
| |
Remove stored errors received from the log. | |
Return the skip reason set on this test, if any is set. | |
Returns any warning suppressions set for this test. | |
Returns the timeout value set on this test. | |
Return a Todo object if the test is marked todo. | |
Returns a unique name that may be used as either a temporary directory or filename. | |
Run the test case, storing the results in result. | |
If no methodName argument is passed to the constructor,
run will treat this method as the thing
with the actual test inside. | |
Returns a one-line description of the test, or None if no description has been provided. | |
Visit this test case. | |
| |
| |
| |
Deprecate iterate, crash and
stop on reactor. | |
| |
| |
| |
| |
| |
| |
(Class method) | |
| |
| |
| |
Create a method which wraps the reactor method name. | |
Lots of tests assume that test methods all run in the same instance of TestCase. | |
| |
| |
Restore the deprecated reactor methods. | |
Take a Deferred that only ever callbacks. | |
| Inherited from _Assertions | |
fails the test if condition evaluates to 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. | |
asserts that first - second >
tolerance | |
fail the test if first and second are not
equal | |
fail the test if first and second are not
equal | |
Assert that deferred will errback with one of
expectedFailures. | |
fails the test if condition evaluates to False | |
fail the test if first is not second. | |
fail the test if containee is not found in
container | |
fails the test if condition evaluates to False | |
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 the test if first == second | |
fail the test if first == second | |
fail the test if first is second. | |
fail the test if containee is found in
container | |
| |
fails the test unless calling the function f with the
given args and kwargs does not raise
exception. | |
| |
fails the test if condition evaluates to True | |
absolutely fails the test, do not pass go, do not collect $200 | |
fails the test if condition evaluates to False | |
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 the test if first == second | |
fail the test if first == second | |
fail the test if first is second. | |
fail the test if containee is found in
container | |
| |
fails the test if condition evaluates to 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. | |
asserts that first - second >
tolerance | |
fail the test if first and second are not
equal | |
fail the test if first and second are not
equal | |
Assert that deferred will errback with one of
expectedFailures. | |
fails the test if condition evaluates to False | |
fail the test if first is not second. | |
fail the test if containee is not found in
container | |
fails the test unless calling the function f with the
given args and kwargs does not raise
exception. | |
| |
fails the test if condition evaluates to True | |
| Inherited from TestCase | |
| |
| |
| |
Run the test without collecting errors in a TestResult | |
| |
| |
Hook method for setting up the test fixture before exercising it. | |
Hook method for deconstructing the test fixture after testing it. | |
Return a version of sys.exc_info() with the traceback frame minimised; usually the top level of the traceback frame is not needed. | |
| 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 | |
| Instance Variable Summary | |
|---|---|
| Inherited from TestCase | |
forceGarbageCollection: If set to True, gc.collect() will be called before and
after the test. | |
skip: None or a string explaining why this test is to be
skipped. | |
suppress: None or a list of tuples of (args, kwargs)
to be passed to warnings.filterwarnings. | |
timeout: None or a real number of seconds. | |
todo: None, a string or a tuple of (errors,
reason) where errors is either an exception class or
an iterable of exception classes, and reason is a
string. | |
| Class Variable Summary | |
|---|---|
| Inherited from TestCase | |
Implements |
__implemented__ = <implementedBy twisted.trial.unittest....
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
| Inherited from TestCase | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
| Instance Method Details |
|---|
testSanity(self)BEROctetString(encoded=BEROctetString(n*'x')).value==n*'x' for some values of n |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Jan 24 20:46:21 2007 | http://epydoc.sf.net |