Mock does not have assert_called_once method
Bug #1394544 reported by
git-harry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
git-harry |
Bug Description
$ grep -rEl 'assert_
cinder/
cinder/
cinder/
cinder/
cinder/
cinder/
cinder/
cinder/
cinder/
This files all contain mocks that are having the method assert_called_once called. This doesn't work as expected because it is not one of Mock's assertion methods. The method that should be called is assert_
Nova has a hacking check for this because it is a common mistake.
Changed in cinder: | |
assignee: | nobody → git-harry (git-harry) |
Changed in cinder: | |
importance: | Undecided → Low |
Changed in cinder: | |
milestone: | none → kilo-1 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-1 → 2015.1.0 |
tags: | added: tests |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/136756
Review: https:/