Skip to content

Instantly share code, notes, and snippets.

@abhinavsingh
Created July 2, 2012 13:01
Show Gist options
  • Save abhinavsingh/3033163 to your computer and use it in GitHub Desktop.
Save abhinavsingh/3033163 to your computer and use it in GitHub Desktop.
sockjs-protocol test results with sockjs-erlang on mac osx R14B04
........E...........................F......F............................
======================================================================
ERROR: test_invalid_callback (__main__.HtmlFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "sockjs-protocol-dev.py", line 1036, in test_invalid_callback
r = GET(base_url + '/a/a/htmlfile?c=' + callback)
File "/Users/abhinavsingh/git/sockjs-protocol/utils_03.py", line 289, in GET
return SynchronousHttpRequest('GET', url, **kwargs)
File "/Users/abhinavsingh/git/sockjs-protocol/utils_03.py", line 269, in SynchronousHttpRequest
chunk = c.read_chunk()
File "/Users/abhinavsingh/git/sockjs-protocol/utils_03.py", line 252, in read_chunk
line = recvline(self.s).rstrip('\r\n')
File "/Users/abhinavsingh/git/sockjs-protocol/utils_03.py", line 125, in recvline
c = s.recv(1)
timeout: timed out
======================================================================
FAIL: test_invalid_callback (__main__.JsonPolling)
----------------------------------------------------------------------
Traceback (most recent call last):
File "sockjs-protocol-dev.py", line 1101, in test_invalid_callback
self.assertEqual(r.status, 500)
AssertionError: 200 != 500
======================================================================
FAIL: test_close (__main__.RawWebsocket)
----------------------------------------------------------------------
Traceback (most recent call last):
File "sockjs-protocol-dev.py", line 1281, in test_close
self.assertEqual(ce.exception.reason, "Go away!")
AssertionError: '' != 'Go away!'
----------------------------------------------------------------------
Ran 72 tests in 1.566s
FAILED (failures=2, errors=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment