← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1833182] [NEW] Wrong assert methods in unit tests for libvirt driver

 

Public bug reported:

'asset_called' should be 'assert_called'.
'asset_called_once' should be 'assert_called_once'.

https://opendev.org/openstack/nova/src/commit/a628d2f09a42a0faa5fcb36793e2304de634638e/nova/tests/unit/virt/libvirt/test_driver.py#L10107
https://opendev.org/openstack/nova/src/commit/a628d2f09a42a0faa5fcb36793e2304de634638e/nova/tests/unit/virt/libvirt/test_driver.py#L10126

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: In Progress


** 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/1833182

Title:
  Wrong assert methods in unit tests for libvirt driver

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  'asset_called' should be 'assert_called'.
  'asset_called_once' should be 'assert_called_once'.

  https://opendev.org/openstack/nova/src/commit/a628d2f09a42a0faa5fcb36793e2304de634638e/nova/tests/unit/virt/libvirt/test_driver.py#L10107
  https://opendev.org/openstack/nova/src/commit/a628d2f09a42a0faa5fcb36793e2304de634638e/nova/tests/unit/virt/libvirt/test_driver.py#L10126

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1833182/+subscriptions


Follow ups