Fail unit tests without errors

This commit is contained in:
Roy Hyunjin Han 2015-02-22 18:59:05 -05:00
commit 5806f23492
3 changed files with 25 additions and 18 deletions

View file

@ -86,7 +86,7 @@ def parse_socketIO_packet_data(socketIO_packet_data):
def get_namespace_path(socketIO_packet_data):
if '/' != get_character(socketIO_packet_data, 0):
if not socketIO_packet_data.startswith(b'/'):
return ''
# Loop incrementally in case there is binary data
parts = []