Package integration :: Module test_xmpp_transports_nb :: Class TestNonBlockingHTTP
[hide private]
[frames] | no frames]

Class TestNonBlockingHTTP

source code


Test class for NonBlockingHTTP transport
Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
_get_transport(self, http_dict, proxy_dict=None) source code
 
test_parse_own_http_message(self)
Build a HTTP message and try to parse it afterwards
source code
 
test_receive_http_message(self)
Let _on_receive handle some http messages
source code
 
test_receive_http_message_in_chunks(self)
Let _on_receive handle some chunked http messages
source code

Inherited from AbstractTransportTest: expect_receive, have_received_expected, setUp, tearDown

Inherited from AbstractTransportTest (private): _setup_hook, _teardown_hook

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

Class Variables [hide private]
  bosh_http_dict = {'http_uri': 'http://gajim.org:5280/http-bind...
Method Details [hide private]

_get_transport(self, http_dict, proxy_dict=None)

source code 

test_parse_own_http_message(self)

source code 
Build a HTTP message and try to parse it afterwards

test_receive_http_message(self)

source code 
Let _on_receive handle some http messages

test_receive_http_message_in_chunks(self)

source code 
Let _on_receive handle some chunked http messages

Class Variable Details [hide private]

bosh_http_dict

Value:
{'http_uri': 'http://gajim.org:5280/http-bind', 'http_version': 'HTTP/\
1.1', 'http_persistent': True, 'add_proxy_headers': False}