The incoming parameters of assertEqual function are reversed
Bug #1490370 reported by
xiangxinyong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-muranoclient |
Fix Released
|
Medium
|
xiangxinyong |
Bug Description
The incoming parameters of assertEqual function are reversed in MuranoClient.
For example.
self.assertEqua
According the definition of assertEqual as below, it is reversed.
def assertEqual(self, expected, observed, message=''):
:param expected: The expected value.
:param observed: The observed value.
:param message: An optional message to include in the error.
It may create misunderstanding about unit test.
Changed in python-muranoclient: | |
assignee: | nobody → xiangxinyong (xiangxinyong) |
Changed in python-muranoclient: | |
importance: | Undecided → High |
milestone: | none → 0.6.4 |
importance: | High → Medium |
Changed in python-muranoclient: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/218716
Review: https:/