Package unit :: Module test_xmpp_dispatcher_nb :: Class TestDispatcherNB
[hide private]
[frames] | no frames]

Class TestDispatcherNB

source code


Test class for NonBlocking dispatcher. Tested dispatcher will be plugged into a mock client
Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
_simulate_connect(self) source code
 
test_unbound_namespace_prefix(self)
tests our handling of a message with an unbound namespace prefix
source code
 
test_process_non_blocking(self)
Check for ProcessNonBlocking return types
source code
 
test_return_stanza_handler(self)
Test sasl_error_conditions transformation in protocol.py
source code

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Method Details [hide private]

setUp(self)

source code 
Hook method for setting up the test fixture before exercising it.
Overrides: unittest.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 
Hook method for deconstructing the test fixture after testing it.
Overrides: unittest.TestCase.tearDown
(inherited documentation)

_simulate_connect(self)

source code 

test_unbound_namespace_prefix(self)

source code 
tests our handling of a message with an unbound namespace prefix

test_process_non_blocking(self)

source code 
Check for ProcessNonBlocking return types

test_return_stanza_handler(self)

source code 
Test sasl_error_conditions transformation in protocol.py