How to use test_bulk_delete_by_POST method in tempest

Best Python code snippet using tempest_python

test_account_bulk.py

Source:test_account_bulk.py Github

copy

Full Screen

...84 # Check if uploaded contents are completely deleted85 self._check_contents_deleted(container_name)86 @decorators.idempotent_id('dbea2bcb-efbb-4674-ac8a-a5a0e33d1d79')87 @utils.requires_ext(extension='bulk_delete', service='object')88 def test_bulk_delete_by_POST(self):89 """Test bulk operation of deleting multiple files by HTTP POST"""90 filepath, container_name, object_name = self._create_archive()91 self._upload_archive(filepath)92 data = '%s/%s\n%s' % (container_name, object_name, container_name)93 resp = self.bulk_client.delete_bulk_data_with_post(data=data)94 self.assertHeaders(resp.response, 'Account', 'POST')95 # Check if uploaded contents are completely deleted...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run tempest automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful