test_boot_with_low_ram emits deprecation warning

Bug #1683818 reported by Matthew Treinish
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Martin Kopec

Bug Description

When running tempest the test_boot_with_low_ram test emits a deprecation warning to stderr every run. For example:

{10} tempest.api.compute.flavors.test_flavors_negative.FlavorsV2NegativeTest.test_boot_with_low_ram [28.773909s] ... ok

Captured stderr:
~~~~~~~~~~~~~~~~
    /home/computertreker/git/tempest/tempest/api/compute/flavors/test_flavors_negative.py:90: PendingDeprecationWarning: Please use assertRaisesRegex instead.
      flavor=flavor['id'])

Martin Kopec (mkopec)
Changed in tempest:
status: New → Confirmed
Martin Kopec (mkopec)
tags: added: low-hanging-fruit
Martin Kopec (mkopec)
Changed in tempest:
assignee: nobody → Martin Kopec (mkopec)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/459384

Changed in tempest:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/459384
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=225d9efaba519b8153a77acf3a491bd2e4bd4f84
Submitter: Jenkins
Branch: master

commit 225d9efaba519b8153a77acf3a491bd2e4bd4f84
Author: Martin Kopec <email address hidden>
Date: Mon Apr 24 15:38:08 2017 +0000

    Replace deprecated function

    assertRaisesRegexp is deprecated because in unittest version 3.2 was renamed
    to assertRaisesRegex.

    Change-Id: I0454200dc730fd4d3f0e1b234d48d8875c843fb6
    Closes-Bug: #1683818

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tempest 16.1.0

This issue was fixed in the openstack/tempest 16.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.