#NEWLINE# @ pytest . fixture ( scope = 'session' ) #NEWLINE# def workbench_conn( request ) : #NEWLINE# #INDENT# ' Workbench Fixture ' #NEWLINE# conn = zerorpc . Client ( timeout = 300 , heartbeat = 60 ) #NEWLINE# conn . connect ( 'tcp://localhost:4242' ) #NEWLINE# request . addfinalizer ( workbench_singleton . shutdown ) #NEWLINE# return conn