Unit tests should not use assert statements

Bug #1303124 reported by Vitalii Lebedynskyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Low
Vitalii Lebedynskyi

Bug Description

Some unit tests make assertion using assert statements. That should be refactored to using appropriate assert methods.

Changed in ceilometer:
assignee: nobody → Vitalii Lebedynskyi (vetal-lebed)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/85560
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=89850c27ae714563bf13470b886e8c7d9b7a101f
Submitter: Jenkins
Branch: master

commit 89850c27ae714563bf13470b886e8c7d9b7a101f
Author: Vitalii Lebedynskyi <email address hidden>
Date: Sat Apr 5 21:18:54 2014 +0300

    Replace assert statements with assert methods

    Some of the test methods were using python assert
    statements for making assertions. This patch replaces
    those statements with apropriate assert methods.

    Change-Id: I3fcf4253560474868a0b32a7994f446e7b4bcc67
    Closes-bug: #1303124

Changed in ceilometer:
status: In Progress → Fix Committed
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → juno-1
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: juno-1 → 2014.2
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.