← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1335977] [NEW] VPNaaS Cisco REST client UT broken

 

Public bug reported:

The currently inactive UT for the Cisco CSR REST client, is broken due
to incorrect H302 changes.  Want to temporarily fix the UT so that they
can be run locally (by renaming the file to remove the "no" prefix and
by including the httmock package or source file).

In the future, this UT will need to be reworked to use the httpretty
library. The  httpretty package uses a register based mechanism, whereas
httmock uses a context manager mechanism, so there are significant
changes needed.

The goal here is to have a way to (manually) continue to check operation
of the Cisco REST client code.

** Affects: neutron
     Importance: Undecided
     Assignee: Paul Michali (pcm)
         Status: In Progress


** Tags: vpnaas

** Changed in: neutron
     Assignee: (unassigned) => Paul Michali (pcm)

** Changed in: neutron
       Status: New => In Progress

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

Title:
  VPNaaS Cisco REST client UT broken

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  The currently inactive UT for the Cisco CSR REST client, is broken due
  to incorrect H302 changes.  Want to temporarily fix the UT so that
  they can be run locally (by renaming the file to remove the "no"
  prefix and by including the httmock package or source file).

  In the future, this UT will need to be reworked to use the httpretty
  library. The  httpretty package uses a register based mechanism,
  whereas httmock uses a context manager mechanism, so there are
  significant changes needed.

  The goal here is to have a way to (manually) continue to check
  operation of the Cisco REST client code.

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


Follow ups

References