def test_tenant_create(self, mock): ''' Test if it create a keystone tenant ''' self.assertDictEqual(keystone.tenant_create('nova'), {'nova': {'description': 'description', 'id': '446', 'name': 'nova', 'enabled': 'True'}})
def test_tenant_create(self, mock): ''' Test if it create a keystone tenant ''' self.assertDictEqual(keystone.tenant_create('nova'), {'nova': {'description': 'description', 'id': '446', 'name': 'nova', 'enabled': 'True'}})
def test_tenant_create(self): """ Test if it create a keystone tenant """ self.assertDictEqual( keystone.tenant_create("nova"), { "nova": { "description": "description", "id": "446", "name": "nova", "enabled": "True", } }, )