← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282401] [NEW] API UT: should not use expected_errors=False when expecting success HTTP response

 

Public bug reported:

In neutron/tests/unit/test_api_v2_resource.py,
there are tests which expects HTTP success response but expect_errors=True is specified.
There are no direct negative impact now, but it is better to specify expect_errors=False (default value) to avoid a confusion for test authors.

** Affects: neutron
     Importance: Low
     Assignee: Akihiro Motoki (amotoki)
         Status: In Progress


** Tags: unittest

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

Title:
  API UT: should not use expected_errors=False when expecting success
  HTTP response

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

Bug description:
  In neutron/tests/unit/test_api_v2_resource.py,
  there are tests which expects HTTP success response but expect_errors=True is specified.
  There are no direct negative impact now, but it is better to specify expect_errors=False (default value) to avoid a confusion for test authors.

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


Follow ups

References