test_extension_manager uses nonexistent function
Bug #1326344 reported by
Juan Antonio Osorio Robles
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
High
|
Juan Antonio Osorio Robles |
Bug Description
test_extension_
Changed in barbican: | |
assignee: | nobody → Juan Antonio Osorio Robles (juan-osorio-robles) |
Changed in barbican: | |
status: | New → In Progress |
Changed in barbican: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in barbican: | |
milestone: | juno-1 → 2014.2 |
Changed in barbican: | |
importance: | Undecided → High |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/97745 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=e1593107f6d 3b2d9a69b847311 16e48a289af3be
Committed: https:/
Submitter: Jenkins
Branch: master
commit e1593107f6d3b2d 9a69b84731116e4 8a289af3be
Author: Juan Antonio Osorio <email address hidden>
Date: Wed Jun 4 13:34:23 2014 +0300
Replace nonexistent function in test
test_ extension_ manager was trying to use assert_called_once, but this
function is nonexistent, and was being improperly ignored by the mock
interface. This patch fixes that by checking the call count of the
mocked function, and checking it.
Change-Id: Id00b4a7bb58e8c a71ca1d0878f9f2 a28f1052f92
Closes-Bug: #1326344