#NEWLINE# def test_get_docker_run_cmd_host_networking( ) : #NEWLINE# #INDENT# memory = 555 #NEWLINE# random_port = 666 #NEWLINE# container_name = ( ( 'Docker' * 6 ) + 'Doc' ) #NEWLINE# volumes = [ '7_Brides_for_7_Brothers' , '7-Up' , '7-11' ] #NEWLINE# env = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# interactive = True #NEWLINE# docker_hash = ( '8' * 40 ) #NEWLINE# command = [ 'IE9.exe' , '/VERBOSE' , '/ON_ERROR_RESUME_NEXT' ] #NEWLINE# hostname = 'fake_hostname' #NEWLINE# net = 'host' #NEWLINE# actual = get_docker_run_cmd ( memory , random_port , container_name , volumes , env , interactive , docker_hash , env , hostname , net ) #NEWLINE# assert ( '--net=host' in actual )