yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79633
[Bug 1840200] [NEW] Misuse of 'assert_has_calls' in unit tests
Public bug reported:
In unit tests, 'has_calls' method is used to assert mock calls.
But 'has_calls' does not exist in assertion methods.
It should be 'assert_has_calls'.
** Affects: nova
Importance: Medium
Assignee: Takashi NATSUME (natsume-takashi)
Status: New
** Tags: testing
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1840200
Title:
Misuse of 'assert_has_calls' in unit tests
Status in OpenStack Compute (nova):
New
Bug description:
In unit tests, 'has_calls' method is used to assert mock calls.
But 'has_calls' does not exist in assertion methods.
It should be 'assert_has_calls'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1840200/+subscriptions
Follow ups