How to use test_create_update_and_delete_domain_config_groups_and_opts method in tempest

Best Python code snippet using tempest_python

test_domain_configuration.py

Source:test_domain_configuration.py Github

copy

Full Screen

...113 self.client.delete_domain_config(domain['id'])114 self.assertRaises(lib_exc.NotFound, self.client.show_domain_config,115 domain['id'])116 @decorators.idempotent_id('c7510fa2-6661-4170-9c6b-4783a80651e9')117 def test_create_update_and_delete_domain_config_groups_and_opts(self):118 domain, _ = self._create_domain_and_config(self.custom_config)119 # Check that updating configuration groups work.120 new_driver = data_utils.rand_name('driver')121 new_limit = data_utils.rand_int_id(0, 100)122 new_group_config = {'identity': {'driver': new_driver,123 'list_limit': new_limit}}124 updated_config = self.client.update_domain_group_config(125 domain['id'], 'identity', **new_group_config)['config']126 self.assertEqual(new_driver, updated_config['identity']['driver'])127 self.assertEqual(new_limit, updated_config['identity']['list_limit'])128 # Check that updating individual configuration group options work.129 new_driver = data_utils.rand_name('driver')130 updated_config = self.client.update_domain_group_option_config(131 domain['id'], 'identity', 'driver', driver=new_driver)['config']...

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