Package ldaptor :: Package test :: Module test_pureber :: Class BERBaseEquality
[hide private]
[frames] | no frames]

Class BERBaseEquality

source code

                    object --+            
                             |            
             unittest.TestCase --+        
                                 |        
                        object --+        
                                 |        
twisted.trial.unittest._Assertions --+    
                                     |    
       twisted.trial.unittest.TestCase --+
                                         |
                                        BERBaseEquality

Instance Methods [hide private]
 
testBERBaseEquality(self)
BER objects equal BER objects with same type and content
source code
 
testBERBaseInEquality(self)
BER objects do not equal BER objects with different type or content
source code

Inherited from twisted.trial.unittest.TestCase: __call__, __eq__, __init__, __ne__, addCleanup, callDeprecated, deferRunCleanups, deferSetUp, deferTearDown, deferTestMethod, flushLoggedErrors, flushWarnings, getSkip, getSuppress, getTimeout, getTodo, mktemp, patch, run, runTest, shortDescription, visit

Inherited from twisted.trial.unittest.TestCase (private): _cbDeferRunCleanups, _cbDeferTestMethod, _classCleanUp, _cleanUp, _deprecateReactor, _ebDeferSetUp, _ebDeferTearDown, _ebDeferTestMethod, _getReason, _installObserver, _makeReactorMethod, _removeObserver, _run, _runCleanups, _undeprecateReactor, _wait

Inherited from twisted.trial.unittest._Assertions: assertAlmostEqual, assertAlmostEquals, assertApproximates, assertEqual, assertEquals, assertFailure, assertFalse, assertIdentical, assertIn, assertIsInstance, assertNot, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIdentical, assertNotIn, assertNotIsInstance, assertNotSubstring, assertRaises, assertSubstring, assertTrue, assertWarns, assert_, fail, failIf, failIfAlmostEqual, failIfAlmostEquals, failIfEqual, failIfEquals, failIfIdentical, failIfIn, failIfIsInstance, failIfSubstring, failUnless, failUnlessAlmostEqual, failUnlessAlmostEquals, failUnlessApproximates, failUnlessEqual, failUnlessEquals, failUnlessFailure, failUnlessFalse, failUnlessIdentical, failUnlessIn, failUnlessIsInstance, failUnlessRaises, failUnlessSubstring, failUnlessTrue, failUnlessWarns

Inherited from unittest.TestCase: __hash__, __providedBy__, __repr__, __str__, countTestCases, debug, defaultTestResult, id, setUp, tearDown

Inherited from unittest.TestCase (private): _exc_info

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

Class Variables [hide private]
  valuesToTest = pureber.BERInteger, [0], (pureber.BERInteger, [...

Inherited from twisted.trial.unittest.TestCase: __implemented__, __provides__

Instance Variables [hide private]

Inherited from twisted.trial.unittest.TestCase: failureException, skip, suppress, timeout, todo

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

valuesToTest

Value:
((<class ldaptor.protocols.pureber.BERInteger at 0x8d9071c>, [0]),
 (<class ldaptor.protocols.pureber.BERInteger at 0x8d9071c>, [1]),
 (<class ldaptor.protocols.pureber.BERInteger at 0x8d9071c>, [4000]),
 (<class 'ldaptor.protocols.pureber.BERSequence'>,
  [[BERInteger(value=1000), BERInteger(value=2000)]]),
 (<class 'ldaptor.protocols.pureber.BERSequence'>,
  [[BERInteger(value=2000), BERInteger(value=1000)]]),
 (<class ldaptor.protocols.pureber.BEROctetString at 0x8e77f2c>, ['foo\
...