#NEWLINE# def test_missing_container_cidr_network( self ) : #NEWLINE# #INDENT# self . delete_provider_network ( 'container' ) #NEWLINE# with self . assertRaises ( SystemExit ) as context : #NEWLINE# #INDENT# get_inventory ( ) #NEWLINE# #UNINDENT# expectedLog = 'No container or management network specified in user config.' #NEWLINE# self . assertEqual ( context . exception . message , expectedLog )