How to use test_swift_basic_ops method in tempest

Best Python code snippet using tempest_python

test_object_storage_basic_ops.py

Source:test_object_storage_basic_ops.py Github

copy

Full Screen

...17from tempest import test18class TestObjectStorageBasicOps(manager.ObjectStorageScenarioTest):19 @decorators.idempotent_id('b920faf1-7b8a-4657-b9fe-9c4512bfb381')20 @test.services('object_storage')21 def test_swift_basic_ops(self):22 """Test swift basic ops.23 * get swift stat.24 * create container.25 * upload a file to the created container.26 * list container's objects and assure that the uploaded file is27 present.28 * download the object and check the content29 * delete object from container.30 * list container's objects and assure that the deleted file is gone.31 * delete a container.32 """33 self.get_swift_stat()34 container_name = self.create_container()35 obj_name, obj_data = self.upload_object_to_container(container_name)...

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