Reviewed: https://review.opendev.org/676290 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a17bb97b2eb1f8657423f2ecbbfbfb9b1b629ae7 Submitter: Zuul Branch: stable/rocky
commit a17bb97b2eb1f8657423f2ecbbfbfb9b1b629ae7 Author: Takashi NATSUME <email address hidden> Date: Tue Aug 13 09:31:32 2019 +0900
Fix misuse of nova.objects.base.obj_equal_prims
The nova.objects.base.obj_equal_prims returns True or False. It does not assert anything. So the return value should be asserted in tests.
Add assertTrue where the nova.objects.base.obj_equal_prims is called.
Change-Id: I49460ec3b572ee14b32229e771a5499ff91e8722 Closes-Bug: #1839853 (cherry picked from commit 5c1d9dcbb29f5a84d56c4e496b3111b4040cad13) (cherry picked from commit a8e19afb3d4889412ee6f539bb63865eb8ef5bb5)
Reviewed: https:/ /review. opendev. org/676290 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a17bb97b2eb 1f8657423f2ecbb fbfb9b1b629ae7
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit a17bb97b2eb1f86 57423f2ecbbfbfb 9b1b629ae7
Author: Takashi NATSUME <email address hidden>
Date: Tue Aug 13 09:31:32 2019 +0900
Fix misuse of nova.objects. base.obj_ equal_prims
The nova.objects. base.obj_ equal_prims returns True or False.
It does not assert anything.
So the return value should be asserted in tests.
Add assertTrue where the nova.objects. base.obj_ equal_prims is called.
Change-Id: I49460ec3b572ee 14b32229e771a54 99ff91e8722 4d56c4e496b3111 b4040cad13) 12ee6f539bb6386 5eb8ef5bb5)
Closes-Bug: #1839853
(cherry picked from commit 5c1d9dcbb29f5a8
(cherry picked from commit a8e19afb3d48894