← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1619093] Re: unit tests fail with novaclient 6.0.0

 

Reviewed:  https://review.openstack.org/364029
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=9db0f0c0fdf32f21e22a3263332dcff29b42ccf2
Submitter: Jenkins
Branch:    master

commit 9db0f0c0fdf32f21e22a3263332dcff29b42ccf2
Author: Matt Riedemann <mriedem@xxxxxxxxxx>
Date:   Wed Aug 31 22:31:17 2016 -0400

    Hard-code stubbed novaclient api_version to 2.1
    
    The unit tests fail with novaclient 6.0.0 which requires
    the use of an api_version property on the base Client class.
    
    This change hard-codes the stubbed api_version attribute to
    be 2.1 which is equivalent to the preferred version used in
    the actual openstack_dashboard.api.nova.VERSSIONS code.
    
    Change-Id: I9b89a224ad715cd0933d9757ca70e8a577eefc95
    Closes-Bug: #1619093


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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1619093

Title:
  unit tests fail with novaclient 6.0.0

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Seen here:

  https://review.openstack.org/#/c/363516/

  http://logs.openstack.org/16/363516/1/check/gate-cross-horizon-
  python27-ubuntu-xenial/2644145/console.html

  Looks like there are problems with the stub_novaclient stuff in the
  api tests, probably need to set a fake api_version on the stubbed
  novaclient.

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


References