Use self.assertTrue instead of self.assertEqual(..., True)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Bartosz Fic |
Bug Description
$ find . -name '*.*' | xargs grep self.assertEqual | grep True
./tests/
./tests/
./tests/
./tests/
./tests/
./tests/
./tests/
...
./tests/
./tests/
./tests/
$ find . -name '*.*' | xargs grep self.assertTrue
./tests/
./tests/
...
./tests/
./tests/
./tests/
The tests assertions need to be consistent: use assertTrue/
Changed in glance: | |
assignee: | nobody → Miriam Godinez (miriamgc) |
Changed in glance: | |
assignee: | Miriam Godinez (miriamgc) → Bartosz Fic (bartosz-fic) |
Changed in glance: | |
milestone: | none → juno-rc1 |
importance: | Undecided → Low |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/49286
Review: https:/