← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1340881] Re: importing neutron/tests/unit/services/vpn/device_drivers/_test_cisco_csr_rest.py causes program to exit prematurely

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-2

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

Title:
  importing
  neutron/tests/unit/services/vpn/device_drivers/_test_cisco_csr_rest.py
  causes program to exit prematurely

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  https://review.openstack.org/#/c/103675/5/neutron/tests/unit/services/vpn/device_drivers/_test_cisco_csr_rest.py

  https://review.openstack.org/#/c/103675/5


  neutron/tests/unit/services/vpn/device_drivers/_test_cisco_csr_rest.py

  
  try:
      import httmock
  except (NameError, ImportError):
      exit()
  import requests

  
  since httmock is not in requirements, importing this module causes whatever imports it to suddenly exit with a return code of 0.

  This  has disabled flake8, and is possibly breaking unit tests as
  well.

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


References