← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1594593] Re: API tests are broken with 'TypeError: create_tenant() takes exactly 1 argument (2 given)'

 

Reviewed:  https://review.openstack.org/331867
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=a0feab2d8ae20d3dca0a5762d3be1e095f9c1769
Submitter: Jenkins
Branch:    master

commit a0feab2d8ae20d3dca0a5762d3be1e095f9c1769
Author: Assaf Muller <amuller@xxxxxxxxxx>
Date:   Mon Jun 20 18:17:22 2016 -0400

    Change addCleanup create_tenant to delete_tenant, fix gate
    
    Tempest patch with Change-Id of:
    I3fe7b6b7f81a0b20888b2c70a717065e4b43674f
    
    Changed the v2 Keystone tenant API create_tenant to keyword
    arguments. This broke our API tests that used create_tenant
    with a tenant_id... It looks like the addCleanup that was supposed
    to delete the newly created tenant actually created a second
    tenant. The existing create_tenant calls were unaffected
    by the Tempest change as it is backwards compatible.
    
    Change-Id: Ie82c16ebf8dde988d68a01fc8dfa073085af4728
    Closes-Bug: #1594593


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1594593

Title:
  API tests are broken with 'TypeError: create_tenant() takes exactly 1
  argument (2 given)'

Status in neutron:
  Fix Released

Bug description:
  Tempest patch with Change-Id of:
  I3fe7b6b7f81a0b20888b2c70a717065e4b43674f

  Changed the v2 Keystone tenant API create_tenant to keyword arguments. This broke our API tests that used create_tenant with a tenant_id... It looks like the addCleanup that was supposed
  to delete the newly created tenant actually created a second tenant. The existing create_tenant calls were unaffected by the Tempest change as it is backwards compatible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1594593/+subscriptions


References