#NEWLINE# def test_process_properties_none( self ) : #NEWLINE# #INDENT# with mock . patch . object ( ProcessManager , '_as_process' , ** PATCH_OPTS ) as mock_asproc : #NEWLINE# #INDENT# mock_asproc . return_value = None #NEWLINE# self . assertEqual ( self . pm . cmdline , None ) #NEWLINE# self . assertEqual ( mock_asproc . pm . cmd , None )