#NEWLINE# @ pytest . fixture ( scope = 'module' ) #NEWLINE# def net_connect( request ) : #NEWLINE# #INDENT# '\n    Create the SSH connection to the remote device\n\n    Return the netmiko connection object\n    ' #NEWLINE# device_under_test = request . config . getoption ( 'test_device' ) #NEWLINE# test_devices = parse_yaml ( ( PWD + '/etc/test_devices.yml' ) ) #NEWLINE# device = test_devices [ device_under_test ] #NEWLINE# device [ 'verbose' ] = False #NEWLINE# conn = ConnectHandler ( ** device ) #NEWLINE# return request