24 lines
		
	
	
		
			726 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			726 B
		
	
	
	
		
			Gherkin
		
	
	
	
	
	
|   | @image
 | ||
|  | Feature: delete image
 | ||
|  | 
 | ||
|  |   @openstack
 | ||
|  |   Scenario: Delete openstack image with user without privileges
 | ||
|  |     When I send DELETE '/v2.0/image/08093b30-8393-42c3-8fb3-c4df56deb967' query with user without privileges
 | ||
|  |     Then response should be '401'
 | ||
|  | 
 | ||
|  |   @openstack
 | ||
|  |   Scenario: Delete openstack image
 | ||
|  |     When I send DELETE '/v2.0/image/08093b30-8393-42c3-8fb3-c4df56deb967' query
 | ||
|  |     Then response should be '200'
 | ||
|  | 
 | ||
|  |   @ec2
 | ||
|  |   Scenario: Delete ec2 image with user without privileges
 | ||
|  |     When I send DELETE '/v2.0/image/ami-63071b0a' query with user without privileges
 | ||
|  |     Then response should be '401'
 | ||
|  | 
 | ||
|  |   @ec2
 | ||
|  |   Scenario: Delete ec2 image
 | ||
|  |     When I send DELETE '/v2.0/image/ami-63071b0a' query
 | ||
|  |     Then response should be '200'
 | ||
|  | 
 |