#NEWLINE# def test_missing_first_force( self ) : #NEWLINE# #INDENT# bucket_uri = self . CreateBucket ( ) #NEWLINE# object_uri = self . CreateObject ( bucket_uri = bucket_uri , object_name = 'present' , contents = 'foo' ) #NEWLINE# self . AssertNObjectsInBucket ( bucket_uri , 1 ) #NEWLINE# self . RunGsUtil ( [ 'rm' , ( '%s' % suri ( bucket_uri , 'missing' ) ) , suri ( object_uri ) ] , expected_status = 1 ) #NEWLINE# stderr = self . RunGsUtil ( [ 'rm' , '-f' , ( '%s' % suri ( bucket_uri , 'missing' ) ) , suri ( object_uri ) ] , return_stderr = True , expected_status = 1 ) #NEWLINE# self . assertEqual ( stderr . count ( ( 'Removing %s://' % self . default_provider ) ) , 1 ) #NEWLINE# self . RunGsUtil ( [ 'stat' , suri ( object_uri ) ] , expected_status = 1 )