#NEWLINE# def test_status( ) : #NEWLINE# #INDENT# status = Status ( ) #NEWLINE# assert isinstance ( status . client_list , OrderedDict ) #NEWLINE# assert isinstance ( status . routing_table , OrderedDict ) #NEWLINE# assert hasattr ( status , 'client_list' ) #NEWLINE# assert hasattr ( status , 'routing_table' ) #NEWLINE# assert ( not hasattr ( status , 'global_stats' ) ) #NEWLINE# assert ( not hasattr ( status , 'updated_at' ) ) #NEWLINE# now = datetime . now ( ) #NEWLINE# status . updated_at = now #NEWLINE# assert ( status . updated_at == now )