#NEWLINE# def test_constructor( self ) : #NEWLINE# #INDENT# name = 'test' #NEWLINE# reconnect_interval = 10.0 #NEWLINE# writer = nsq . Writer ( nsqd_tcp_addresses = [ '127.0.0.1:4150' ] , reconnect_interval = reconnect_interval , name = name ) #NEWLINE# self . assertEqual ( writer . name , name ) #NEWLINE# self . assertEqual ( 0 , len ( writer . conn_kwargs ) ) #NEWLINE# self . assertEqual ( writer . reconnect_interval , reconnect_interval )