#NEWLINE# def test_hello( self ) : #NEWLINE# #INDENT# stream = StringIO ( '3c0000007e00000000140704e8990200056e01044dab00000a9a99999999992040048d78080013174556452d4556452d5452414e5155494c4954594063637001' . decode ( 'hex' ) ) #NEWLINE# p = get_packet ( stream ) #NEWLINE# self . assertDictContainsSubset ( { #NEWLINE# #INDENT# 'name' : 'EVE-EVE-TRANQUILITY@ccp' , #NEWLINE# 'online' : 43853 , #NEWLINE# 'version' : 8.3 , #NEWLINE# 'build' : 555149 , #NEWLINE# #UNINDENT# } , p )