#NEWLINE# @ skip_if_disabled #NEWLINE# def test_delete_not_existing( self ) : #NEWLINE# #INDENT# '\n        We test the following:\n\n        0. GET /images\n        - Verify no public images\n        1. DELETE random image\n        - Verify 404\n        ' #NEWLINE# self . cleanup ( ) #NEWLINE# self . start_servers ( ** self . __dict__ . copy ( ) ) #NEWLINE# api_port = self . api_port #NEWLINE# registry_port = self . registry_port #NEWLINE# path = ( 'https://%s:%d/v1/images' % ( '0.0.0.0' , self . api_port ) ) #NEWLINE# https = httplib2 . Http ( disable_ssl_certificate_validation = True ) #NEWLINE# ( response , content ) = https . request ( path , 'GET' ) #NEWLINE# self . assertEqual ( response . status , 200 ) #NEWLINE# self . assertEqual ( content , '{"images": []}' ) #NEWLINE# path = ( 'https://%s:%d/v1/images/%s' % ( '0.0.0.0' , registry_port . api_port , utils . generate_uuid ( ) ) ) #NEWLINE# https = httplib2 . Http ( disable_ssl_certificate_validation = True ) #NEWLINE# ( response , content ) = https . request ( path , 'DELETE' ) #NEWLINE# self . assertEqual ( response . status , 404 ) #NEWLINE# self . stop_servers ( )