#NEWLINE# def testMountNoName( self ) : #NEWLINE# #INDENT# yaml_code = '\n      - path: /mnt/vol1\n      ' #NEWLINE# with self . assertRaises ( SystemExit ) : #NEWLINE# #INDENT# run_containers . LoadVolumeMounts ( yaml . load ( yaml_code ) , [ 'vol1' ] , 'ctr_name' )