← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1272518] [NEW] The _test_{compute, console, network, scheduler}_api methods seem broken.

 

Public bug reported:

The _test_{compute,console,network,scheduler}_api methods, found in
nova/tests/{compute,console,network,scheduler}/test_rpcapi.py, all have
the following line in the beginning:


    expected_retval = 'foo' if method == 'call' else None

However, the "method" parameter is never equal to 'call'. It is probably
meant to read:

    expected_retval = 'foo' if rpc_method == 'call' else None

instead.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  The _test_{compute,console,network,scheduler}_api methods seem broken.

Status in OpenStack Compute (Nova):
  New

Bug description:
  The _test_{compute,console,network,scheduler}_api methods, found in
  nova/tests/{compute,console,network,scheduler}/test_rpcapi.py, all
  have the following line in the beginning:

  
      expected_retval = 'foo' if method == 'call' else None

  However, the "method" parameter is never equal to 'call'. It is
  probably meant to read:

      expected_retval = 'foo' if rpc_method == 'call' else None

  instead.

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


Follow ups

References