← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1567295] Re: tox -e py27 is failing due to fixtures 2.0.0 release

 

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

commit 2af86b8f6f749bf7b42a2c04b48c9a2dc28a46c9
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date:   Thu Apr 7 19:15:01 2016 +0200

    Switched from fixtures to mock to mock out starting RPC consumers
    
    fixtures 2.0.0 broke us wildly, so instead of trying to make it work
    with new fixtures, I better just switch the mock to... mock.
    
    Change-Id: I58d7a750e263e4af54589ace07ac00bec34b553a
    Closes-Bug: #1567295


** 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/1567295

Title:
  tox -e py27 is failing due to fixtures 2.0.0 release

Status in neutron:
  Fix Released
Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  unit test cases were failing due to below error

  networking_l2gw.tests.unit.services.l2gateway.service_drivers.test_rpc_l2gw.TestL2gwRpcDriver.test_validate_connection
  ----------------------------------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):
        File "networking_l2gw/tests/unit/services/l2gateway/service_drivers/test_rpc_l2gw.py", line 42, in setUp
          self.plugin = rpc_l2gw.L2gwRpcDriver(self.service_plugin)
        File "networking_l2gw/services/l2gateway/service_drivers/rpc_l2gw.py", line 62, in __init__
          self.conn.consume_in_threads()
      TypeError: fake_consume_in_threads() takes exactly 1 argument (0 given)

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